
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 04:08 AM
In one of a catalog variables which is a simple string type, both Read Only and Mandatory has become checked and I am not able to uncheck any of these as they have become readonly. Other variables are editable except this one in the whole instance. Could you please help me out with this.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 04:40 AM
You can also try to update the two values using fix script , you can query the table "item_option_new" in this all the variables are mentioned against your catalog item and you can update the values of "Mandatory" and "Read Only" fields.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 05:06 AM - edited ‎09-27-2023 05:51 AM
Thank you Anubhav,
I ran the below fixscript and saw this was fixed.
var test = new GlideRecord("item_option_new");
test.addQuery("sys_id", "f2ecd50987e5791094f463d83cbb35cd");
test.query();
if(test.next()){
test.setValue("mandatory", false);
test.setValue("read_only", true);
test.update();
}
However i am still not able to investigate why this issue happened for one variable.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 05:06 AM - edited ‎09-27-2023 05:51 AM
Thank you Anubhav,
I ran the below fixscript and saw this was fixed.
var test = new GlideRecord("item_option_new");
test.addQuery("sys_id", "f2ecd50987e5791094f463d83cbb35cd");
test.query();
if(test.next()){
test.setValue("mandatory", false);
test.setValue("read_only", true);
test.update();
}
However i am still not able to investigate why this issue happened for one variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 05:31 AM
Can be a ACL or some script on this particular table which might be restricting the user to edit those two fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Its possible to set both by editing the values in the list control of the variables list:
Clearing the values there will correct the issue