Agent Workspace - How to open a UI action in a sub tab instead of new window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 01:23 AM
Hi,
I have an issue as when I click on a particular UI action in Agent workspace, its triggering to new window.
My requirement is to when its clicked, it should open in new sub tab.
In UI Action, Under Workspace client Script, I tried the below code but didn't work.
function onClick(g_form)
{
var url= "incident_list.do?sysparm_query= " + g_form.getValue("called_id");
OpenUrl(url);
}
function OpenUrl(url){
this.open(url , '_blank');
}
Thanks in advance.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2022 08:56 AM
How we can do the same thing using ATF(Automated Test Framework) Test Steps in San Deigo Version, When I'm doing the execution, after opening 10 tabs It gives error msg "max tab error". The max tab error is resolved from sys_properties and modifying value for this this sn_agent_workspace.max_tabs
Is there any UI method through which we can open it in in the sub tab bar highligheted in blue instead of tab highlighted in black. Kindly take glance in attachment for reference