Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

set field readonly using dictionary attribute

marrik
Tera Contributor

I'm trying to make a field read-only using the dictionary attribute in ServiceNow

I set the attribute read_only=true for the field in the dictionary entry
still not working 
I even tried deactivating existing UI Policies, but still the field is editable on the form.

marrik_0-1754566590530.png

 

5 REPLIES 5

Dr Atul - LNG
Tera Patron

Hi @marrik 

Just make true here:

 

DrAtulGLNG_0-1754574755950.png

 

my requirement is to set readonly through attributes not with readonly check box

Hi @marrik 

 

why through attributes but not the check Box? 

Viraj Hudlikar
Tera Sage

@marrik 

 

Why not just check the checkbox named Readonly which will make field non-editable.

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.