Make variables on the target record read-only in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2022 07:00 AM
Hi All,
We have a requirement to make the default variable editor read-only in the target record. We have written script as per https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0752560 which makes the variable editor read-only in native UI. However, variables are still editable from the workspace. We have tried a client script with g_form.setVariablesReadOnly(true) on target record but its not working either. Any idea on how we can make the variables read-only on the target record in workspace?
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 03:49 AM
Hello @e_disanto ,
I have implemented this onload client script for particular table. But this is only working in classic UI/ backend view of records where the variables are read only.
Although I also need to implement this workspace. In my workspace also the variables are read only. Please suggest how to resolve this.
Kind Regards,
Atanu Maity