Need to download form page as PDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2017 12:41 AM
Hi All,
I have a requirement as below,
I want to create an UI action to download the form page as PDF,.
I have tried the below UI action code.
var urlString = gs.getProperty('glide.servlet.uri')+current.getTableName()+'.do?PDF&sys_id='+current.sys_id+'';
action.setRedirectURL(urlString);
Its working fine. But in PDF file it contains Table name,run date and time, report title and Run by. I dont want to see these details in my PDF file . is it possible to avoid these details?
And one more thing , In my form i have lot of sections. But as soon as press Download PDF button it has to create PDF file for specific section without the related list tables
is it possible to achieve?
Thanks,
Malaisamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2017 04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2017 04:48 AM
Moulik
i have gone through that. But its not working for me ,,
I have created my view and added the view to the code as below.
var urlString = gs.getProperty('glide.servlet.uri')+current.getTableName()+'.do?PDF&sys_id='+current.sys_id+'&sysparm_view=PDF View';
action.setRedirectURL(urlString);
But still its not working.
Thanks,
Malaisamy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2017 06:15 PM
Please try to provide you view name looks like you are trying with view title..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2017 08:00 PM
Shishir,
PDF View is my view name.
But its still printing whole form.