
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 05:09 AM
Hi All,
I'm redirecting to an URL on click of an UI Action How i can open that URL in New Window?
Thanks Everyone,
Bala
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 05:16 AM
Hi,
if the UI action is server side -> then cannot be done
If the UI action is client side -> use this
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
06-08-2022 05:16 AM
Hi,
if the UI action is server side -> then cannot be done
If the UI action is client side -> use this
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
06-08-2022 05:20 AM
i tried this one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 05:25 AM
Hi,
I already mentioned above that for server side it won't work
For client side I shared the line
share your UI action configuration screenshot
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
06-08-2022 05:32 AM
I checked Client checkbox and script as follows:
function a(){
gsftSubmit(null,g_form.getFormElement(),'using action_name here');
}
if(typeof window == 'undefined'){
b
}
function b(){
var url = 'abcd.com';
g_navigation.open(url,'_blank');
}