Open From in new tab instead of new sub tab in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2021 04:20 AM
Hello,
I have an UI Action 'Clone Incident' in Agent Workspace. So when I click on it, it will copy the present incident and create a new one.
Requirement:
Right now when I am clicking on 'Clone Incident' UI Action then the incident ticket will get copied and new incident will get created. But the new incident gets opened in new sub-tab instead of new tab in Agent Workspace.
Opening in sub-tab.
Want it to open in main tab.
My script in UI Action :
Can anyone please help here?
Thanks.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2021 04:50 AM
Hi,
you are using server side so this is not possible.
move the code to workspace client script and refer below line
top.window.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
04-26-2021 03:22 AM
Hope you are doing good.
Did my reply answer your question?
If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.
Thanks!
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
04-27-2021 05:22 AM
Hi Ankur,
I have raised the HICASE for this issue. I will let you know the update.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 06:24 PM - edited 05-21-2024 12:21 AM
Hello, I have the exact same issue. Thought I had a solution, but it didn't work.
Potential is to use Declarative Actions instead of UI Actions.