Onload Client script is not working in Agent workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 02:58 AM
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
- Labels:
-
Agent Workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 03:04 AM
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"
then write your code which would run only for the workspace view
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 03:24 AM
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