Open new window in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2019 04:54 AM
Hello everyone,
I want open a new window / tab by clicking on UI Action button in Agent Workspace to open an external url. From UI 16 it is working fine but in Agent Workspace it is not opening any new tab or window. I tried below but no luck:
1> window.open("https://www.google.com",'_blank');
2> g_navigation.openPopup("https://www.google.com");
Any help is appreciated. Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2019 07:12 PM
This one opens a new window. Is there a way to open a new tab?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2020 06:06 AM
Hi sekarpdkt ,
Did you found out to open in a new tab .
iam facing the same issue.
Thankyou ,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 10:33 PM
Hello
We had same issue, and opened a HI Case and got the following response which works.
In the Workspace Client Script you need to add the code:
top.window.open('URL','blank');
and this works for us and opens it in a new tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2020 12:34 AM
Hi,
for anyone with similar problem. This method worked for us - opening new subtab on Agent Workspace.
function onClick(g_form) {
// Current context (anonymous method executed by Agent Workspace)
g_aw.openRecord("incident", "08fd113bdb0b4414229d5385ca961932");
}
Documentation:
https://developer.servicenow.com/dev.do#!/reference/api/orlando/client/GlideAgentWorkspaceAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
I just can not open a catalog item in a new tab in CSM workspace. It opens in a new tab on the browser but I want to open it as a new tab in the same are where I can currently see a list.