Need to make list collector variable read-only in ritm

suuriya
Tera Contributor

Hi,

 

I'm Facing a weird situation, where I need to make a list collector variable (which is part of variable set) to read-only in ritm and task. But for some reason I'm not able to make it read-only in RITM. In task I have made it. I have tried using the UI Policy by check-in the applies on requested ritm still it is not making it a read-only. Also tried writing the onload client script in ritm table g_form.setDisabled('myfieldname', true); and still, it didn't work.

 

I also noticed one thing in ritm where all the other variables (catalog variables) are read-only expect the one list collector variable of the catalog(which is editable)(variable). and I wanted one list collector variable to make read-only(it is different) (variable set)Is something to do with OOB.

 

Please let me know how we can make the list collector variable read-only in ritm.

 

Note: no policy or script is written for the field which i wanted to make read-only. (other than mine)

7 REPLIES 7

andri joshi
Tera Contributor

@suuriya 

Check is there any ui policy or script which is making your list collector field as mandatory ,if yes ,first remove it  and then try to make the field as read only.

Also in the variable we have options to make the field read only /mandatory checkbox,check that as well.

Thanks,

Manjusha Bangale

Hi @SatyakiBose ,

 

I tried the same but it didnt work

Rajesh Chopade1
Mega Sage

HI @suuriya 

 

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

catalog-ui-policy.PNG

 

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

 

I hope this will helps you

 

Thank you

Rajesh.