How to tell what's causing a field to be read-only

AmenaA
Giga Guru

Possibilities:

1. Using Debug Security to see what ACL's could be possibly running to make it read-only

2. Check if any client-scripts / UI policies running to make it read-only

3. Check if the Dictionary Entry is marked as read-only

 

There's a field that's read-only and it doesn't appear to be caused by any of the above.

Is there any other way to tell what could possibly be causing a field on a table to be read-only?

 

 

Thanks in Advance

 

2 ACCEPTED SOLUTIONS

LorenzVdV
Giga Guru

Access Analyzer is waaaay easier to interpret than Debug Security, so check that out.

Exploring Access Analyzer (servicenow.com)

 

Data policies can also make fields read-only. 

View solution in original post

@AmenaA If there are no Data Policy/UI Policy/Client script, then it has to be ACLs. I recommend using Access Analyser to see which ACL is failing.

View solution in original post

8 REPLIES 8

Rajesh_Bhise
Tera Guru

Hello @AmenaA ,

 

You are right that given 3 options are used to make fields readonly in servicenow.

I would suggest to follow hierarchy in setting fields readonly.

 

dictionary entry>>security rules>>  ui policy>> client script.

 

Please disable each configuration in the first place and check the use case as per your requirement.

then enable particular configuration to make the field read-only.  

 

Also check if one or more UI policy actions are applied on same field for making readonly or mandatory. if yes remove inappropriate one.

do the same for client scripts as well.

 

Please follow the above cases and mark my response as correct and helpful.

 

Happy to help you further.

 

Thank You,

Rajesh

LorenzVdV
Giga Guru

Access Analyzer is waaaay easier to interpret than Debug Security, so check that out.

Exploring Access Analyzer (servicenow.com)

 

Data policies can also make fields read-only. 

Thank you for that @LorenzVdV!!

That helped!!!