How make record producer variable editor fields READONLY?

sinu2
Tera Expert

Hi All,

 

I have a record producer once submit the record producer i have to make READ ONLY all fields in the variable editor. Please find below screen shot.

 I have used the below method to make read only but no luck it is not working.

 

g_form.setVariablesReadOnly(true);

find_real_file.png

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

can you try to check ACL on question_answer table since this table holds the value for the variables from record producer

 

open the individual variables under record producer and give role as admin in the write roles section under permission section

do this for every variable

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Setting restrictions at ACL level would prevent users from entering data when creating the record. Best practice would be to create a Catalog UI Policy to make the fields read-only at Target Record level. 

RC19
Tera Contributor

Hello @Konstantin / @Ankur Babatunde ,

 

Hope you are doing well, I am facing similar issue and making the field read only using catalog ui policy and at Target Record level isn't working for me. Can you please help me with any other way ?

FYI, we are using Sandiego version.

Thanks in advance,

RC