Make a variable read only on record producer

cstangoe
Mega Guru

Hi All.

I wish to make a variable field (a Disclaimer message) on a record producer read only I do not wish for users to amend the wording 

 

find_real_file.png

1 ACCEPTED SOLUTION

AbhishekGardade
Giga Sage

1. Create Catalog UI policy and add UI Policy action to set read only

OR

2. Create catalog onLoad Client script and add below line of code:

g_form.setReadOnly('disclaimer',true); // replace disclaimer with your variable name/

Please mark as Correct Answer and Helpful, if applicable.
Thanks!
Abhishek Gardade
Hexaware Technologies

Thank you,
Abhishek Gardade

View solution in original post

5 REPLIES 5

ccajohnson
Kilo Sage

You should be able to accomplish this with a Catalog UI Policy. If you need assistance, let us know so we can assist.

Harsh Vardhan
Giga Patron

you can create here catalog ui policy and mark that variable as read only from there. 

Harsh Vardhan
Giga Patron

AbhishekGardade
Giga Sage

1. Create Catalog UI policy and add UI Policy action to set read only

OR

2. Create catalog onLoad Client script and add below line of code:

g_form.setReadOnly('disclaimer',true); // replace disclaimer with your variable name/

Please mark as Correct Answer and Helpful, if applicable.
Thanks!
Abhishek Gardade
Hexaware Technologies

Thank you,
Abhishek Gardade