Onload Client script is not working in Agent workspace

Gopinath Krish1
Tera Contributor

Hi,

We are facing some issues when we are working on multiple tabs in agent workspace.

We have a ui action on case table and this ui action redirects us to catalog form so when we are working on two case at same time in agent workspace and if we click on ui action from both the case it will redirect us to the catalog form for both the cases. so here everything is working fine for case which is open in first tab all the script is running but onload client script is not running for second tab.

Please help me to resolve this issue.

Thanks in advance. Gopinath

2 REPLIES 2

Community Alums
Not applicable

Hi,

Set the "Isolate Script" field on the client script to "True" and that should help resolve the issue.

Also, you can specify the view for your client script as -> workspace

and  UI Type field just set it as "ALL"

 

find_real_file.png

then write your code which would run only for the workspace view

find_real_file.png

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Hi Sandeep,

Thanks for the response. I made above mentioned changes. Still its not working.

The issue is when I click the ui action from the case1 its working fine(Catalog form is opening and client scripts also running) but when i click the ui action from case2 its not working(Catalog form is opening but client scripts are not running). 

I hope you understand the issue. 

Thanks, Gopinath