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

Hi @Rajesh Chopade1 

I tried the same by check-in both applies on catalog task and applies on requested item it didn't work on ritm only worked in task level

Community Alums
Not applicable

Hi @suuriya ,

 

Could you share screenshot of form and UI Policy that you have created.

 

Regards

Anand

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-1682023953628.png

 

Thanks

Anupam