How to open a new tab on click of ui action in agent workspace.

jayasri
Tera Contributor

Hi all,

I have a workspace form menu ui action 'create' on case form in agent workspace. On click of ui action ,it should open a new tab in agent workspace and show the list of catalog items which are entitled to the logged in user. How can i achieve this.

Regards,

Jayasri M.

5 REPLIES 5

Munender Singh
Mega Sage

Hi,

Set your UI action to client and try the following:

g_navigation.open("URL", "_blank"); //copy the url of the page you want to open in new tab

 

Regards,

Munender

jayasri
Tera Contributor

Hi Munendar,

I have tried this but its not working.

Regards,

Jayasri M.

Hi,

I tested and it is working fine,please find the screenshot below:

find_real_file.png

 

Regards,

Munender

jayasri
Tera Contributor

Hi Munendar,

Can you please check in Agent Workspace.

I want to open a new tab on click of ui action in Agent Workspace.

Regards,

Jayasri M.