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
06-20-2019 11:29 PM
Hi Ayan,
Did you got it working? I am stuck in the same scenario.
Regards
Air
07-11-2019 11:32 AM
Did you try declarative actions in workspace?
07-15-2019 09:55 AM
Hey, I'm running into the same problem exactly. if anyone has successfully gotten a UI action to pop new tab in the workspace --- *or even in the browser* I would love to take advice on it.
07-19-2019 10:07 PM
Hi Matthew,
I found a solution in community itself. In the workspace client script, use below script and it will work.
var win = top.window.open('http://www.coolsite.com', '_blank');
win.focus();
Regards
Air