- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2020 11:41 PM
Hi,
I have created a UI page and I created an UI action button on the form as well
My requirement is when the Form button is clicked it should open the UI page in a new Window is it possible
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2020 12:01 AM
Hi Gowtham,
you can have client side UI action for this and sample script as below in it
This should open the UI page in the new tab
Onclick: openUIPage();
function openUIPage(){
var uiPageSysId = '0d9f357607b85c10540bf2508c1ed0f2'; // pass ui page sys_id here
var url = '/ui_page.do?sys_id=' + uiPageSysId;
g_navigation.open(url, '_blank');
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2020 11:44 PM
Please see the following answers:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2020 11:45 PM
Hi,
You can use GlideDialogWindow to open the UI page in a popup.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2020 11:46 PM
Hi Gowtham,
Try using Client side Ui action window.open('Pass url','_blank');
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2020 12:01 AM
Hi Gowtham,
you can have client side UI action for this and sample script as below in it
This should open the UI page in the new tab
Onclick: openUIPage();
function openUIPage(){
var uiPageSysId = '0d9f357607b85c10540bf2508c1ed0f2'; // pass ui page sys_id here
var url = '/ui_page.do?sys_id=' + uiPageSysId;
g_navigation.open(url, '_blank');
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader