Call UI page through UI action button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 12:37 AM
How to call a UI Page through UI action button and converting that UI page to pdf format and download as an pdf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2023 04:16 AM
This is how you can call UI Page from UI action
- function popupDispList() {
- var gdw = new GlideDialogWindow('UI page name');
- gdw. setTitle('Incidents');
- gdw. setPreference('table', 'incident_list');
- gdw. setPreference('sysparm_view', 'default');
- gdw. render();
Hope this helps.
Please mark this answer helpful and correct if this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 03:47 AM
I am successful to call a UI Page through below script but I need to to download that
UI Page into pdf format. whenever a user click on a button.
function openUIPage() {
var uiPageSysId = 'b6d1fa2d478121106190c787a46d433d'; // passing ui page sys_id here
var url = '/ui_page.do?sys_id=' + uiPageSysId;
g_navigation.open(url, '_blank');
}