how to set list collector readonly on RITM form

Mounika30
Kilo Sage

how to set list collector  readonly on RITM form in service now

4 REPLIES 4

Harsh Vardhan
Giga Patron

you can create catalog ui policy and checked the check box "Apply on requested item" as true. 

then select your list collector variable in your ui policy action and set read only as true

 

doc link for further details. 

 

https://docs.servicenow.com/bundle/madrid-it-service-management/page/product/service-catalog-managem...

VigneshMC
Mega Sage

Create a catalog UI Policy , to make the field read only and check Applies on Requested Items.

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

create a new client script and use the following code:

g_form.setVariablesReadOnly(true); 

If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

anupamg
Tera Guru

I am able to make it as read only (greyed out in right slushbucket) thru client script onLoad but as soon as user click on Right to Left arrow sign (in yellow) it is no more read only and is able to remove items from right slushbucket.

Please help.

 

anupamg_0-1682023646062.png

Thanks

Anupam