On load clientscript is not working in CSM/FSM Configurable Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 05:01 AM
We made on load client script using g_scratchpad functionality to hide state choices on sn_customerservice_case table.
In native UI its working fine but in CSM/FSM Configurable Workspace its not working.
What might be the root cause ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 05:10 AM
did you check what came in alert for the g_scratchpad variable?
Set your UI type = ALL and ensure client script is running on all views.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 06:51 AM
Hi @Ankur Bawiskar , I already set UI type to all. still the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 08:13 AM
what debugging did you perform?
did you check if display business run ran and no error and add in log what came in g_scratchpad
Also did you check what came in alert for that scratchpad variable?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader