RITM variable read only, how to make them read/write....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2019 10:40 PM
Hello Friends,
We have one requirement where users are raising request to install software’s like office 2013 and submit, then when IT Team start to work on that RITM they found they cannot install office 2013 on user machine hence on RITM variables itself they should be able to change software from office 2013 to office 2019. But on RITM table all the variable are ready only. There is no client script to make them ready only.
Please help me to know how this can be possible to make RITM variable not ready only for this catalog item only.
thanks,
Basant
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2019 10:50 PM
Hi Basant,
you can have onload client script to make that variable as readonly false
have catalog client script with applies on RITM view; select the catalog item
function onLoad(){
g_form.setReadOnly('variable', false);
}
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
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-2019 10:58 PM
Hi there,
Out-of-the-box the variables should be not read-only. So question is: how are these made read-only in your instance?
- onLoad Client Script?
- On the Variables themselves, permissions?
- ACL's?
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list
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
11-23-2019 02:32 AM
Hello,
Have checked Catalog UI Policies for Item variable?
Because UI policies override Client script in case of Conflict.
Please mark as correct and Helpful ,if you find any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2019 12:05 AM
Hi all thanks for your valuable responses. But I have checked out of the box client script on RITM Table is set as false. It is not active. I have also checked UI Policies but all there is not UI policies that set values as ready.
Now, I’m not sure how come variables are read only in variable editor.
Do we have any other way to make them read only for a specific service catalog like overwrite current fucnatnlity.