- 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
‎08-13-2019 08:34 PM
Hi Diane,
I'm working on a similar request; to have the MRVS set as read-only.
I did follow Soumita suggestion, apply the g_form.setVariablesReadOnly(true) in Catalog Client Script, but still not work for me.
Is there anything else to take note?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2019 10:25 PM
Hi there,
We are just using a UI Policy + UI Policy action on the MRVS itself, to make it read only. Works fine! On the UI Policy When to apply, only check the "Applies on Requested Items" checkbox. No conditions on the UI Policy, so it will run onLoad.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2019 12:58 AM
Thanks Mark.
I got it done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2019 12:03 AM
Write UI policy on catalog item and select "variable set name" in the "Name" field of the UI policy action.
It will disable all buttons like"Add","remove"