RITM variable read only, how to make them read/write....

basantsoni
Kilo Guru

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

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Mark Roethof
Tera Patron
Tera Patron

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

LinkedIn

Kajal Goti
Mega Guru

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.

 

basantsoni
Kilo Guru

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.