- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 04:58 AM
Any chance someone here already made the multi-row variable set to read-only on RITM and Catalog Tasks?
Thanks,
Diane
Solved! Go to Solution.
- Labels:
-
Best Practices
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 05:24 AM
Hi Diane,
Could you please use g_form.setVariablesReadOnly(true); and let me know if this works?
Please mark the answer as correct if it suffice your query.
Thanks.
Soumita.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 05:16 AM
Hi Soumita,
We actually have this code but it is not being applied to the multi-row variable set. I don't know why.
Diane

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 05:24 AM
Hi Diane,
Could you please use g_form.setVariablesReadOnly(true); and let me know if this works?
Please mark the answer as correct if it suffice your query.
Thanks.
Soumita.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2019 01:56 AM
Hi Soumita,
Unfortunately, doesn't work too. I don't think this script works for multi-row variable set. I'll try to look for other solutions.
Regards,
Diane

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2019 02:26 AM
Hi Diane,
Hope this helps:
https://community.servicenow.com/community?id=community_question&sys_id=11a403e9dbd8dbc01dcaf3231f96194a
Thanks,
Soumita.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 02:33 AM
Hi Soumita,
I created a new client script and disabled the old one and used your code g_form.setVariablesReadOnly(true) and I was able to make the MRVS to read-only. Thank you.
Diane