how to open a url in new table in UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 05:18 AM
Hi All,
I am using a server side Ui action and the want to open the url in new window.
So my script is like :-
var url="//https:instancename.service-now.com/sysparm_stack=no&sysparm_attributes=record=incident,parent=parent_incident,title=number,description=cmdb_ci,short_description,baseid=' + parent;
action.setRedirectURL(url);
so how can i open it in new table , its a form link UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 06:10 AM
not possible using server side.
it will always open in same tab when you use server side.
move the code to client side.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 07:41 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 11:32 PM
Hi @Ankur Bawiskar,
How to 'incident record' URL to open in a new tab from system wide, rather than in the current tab?
Can you please help me in this. It will helpful.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 12:00 AM
can you post a new question for this and tag me there as this is an old thread?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader