Client scripts is NOT working custom workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 02:54 AM
Hi Team,
I have one Onload and Onchange client scripts to update the related list filter conditions on a form.
Both these onload and onchange are working in native view but NOT in custome workspace.
Onload:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 05:38 AM
Did you check the scripts are marked as global so that they run for all view?
seems GlideList2 and setFilterAndRefresh is not supported in workspace?
Did you check any browser console error when the script runs in workspace view?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 01:35 AM
Hi @Ankur Bawiskar ,
Yes, Scripts are marked as global and Isolate script is also Checked true on Both.
in Browser console also i am not seeing any issues.
GlideList2 and setFilterAndRefresh is not supported in workspace? -- Don't know the answer to this question.
Thanks,
Hari Kishan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 02:19 AM
Seems it's not supported in workspace
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
07-30-2025 02:24 AM
Hope you are doing good.
Did my reply answer your question?
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