How to create a Export PDF button for Problem table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 09:06 PM
Hello exports
I have created a UI action in problem table for download PDF .
but My current UI Action.
function exportPDF() {
var sysparm_table = g_form.getTableName();
var sysparm_sys_id = g_form.getUniqueValue().toString();
var instanceName = 'https://My instance name/';
var url = instanceName + sysparm_table + '.do?PDF&sys_id=' + sysparm_sys_id;
g_navigation.openPopup(url);
}
I have below requirements I'm struggling here to achieve pls support.
1.file name when downloading shall be "RCA_Problem-.pdf"
2.Add Title in document "RCA - Root Cause Analysis"
3.Add fixed Agenda on first page (if possible).
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 11:10 PM
Hi .
This will help you
Feel free to mark helpful and correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 02:22 AM
Hello Prashant,
Thank you for your Quick reply ,
Please provide me the code or steps for below requirement.
1.file name when downloading shall be "RCA_Problem-.pdf"
2.Add Title in document "RCA - Root Cause Analysis"
3.Add fixed Agenda on first page (if possible).
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 12:30 AM
Hello,
Check this out
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 02:16 AM
Hello Musab Raseed ,
Thank you for your Quick reply ,its useful to me. but My Requirment .
I have below requirements I'm struggling here to achieve pls support.
1.file name when downloading shall be "RCA_Problem-.pdf"
2.Add Title in document "RCA - Root Cause Analysis"
3.Add fixed Agenda on first page (if possible).
Thank you