"Security prevents writing to this field" issue

brhea
Kilo Explorer

Hello all,

 

I'm working with a very recent deployment of Service-Now and need to be able to manually edit the Model Category field for any record or records.   However, during the Start Now engagement there was some scripting put in place to derive the Model Category field by looking up our internal part number and using the value returned.   However, if I attempt to change this for any record in the All Assets view I get the above error message.

 

Any guidance on how I can disable that?   I have admin privileges by am unable to override.

 

Thanks,

 

-br

1 REPLY 1

geoffcox
Giga Guru

What table is this field on? And what form are you looking when you want to edit it?



If it is protected by an ACL, You can look for an ACL on that field, and set the "admin overrides" checkbox so you don't get locked out.



Or it may be set to "read only" in the dictionary (we often do this for fields whose values are determined by business rules). In that case, you're edits won't make much difference since the value will probably be overridden by the business rule. But if that is not the case, then uncheck the readonly flag and protect the field with an ACL instead.



However, a caution: I suspect the Model Category field may be a reference to a field on your make/model table (I'm not certain of this, we have no such field). So, if you are looking at an asset record and edit the Model Category field, you *may* be unsuspectingly editing that field for that model on all the records that reference it (not just the asset you're looking at). So just beware.



If it is indeed a field on the make/model table, then you are better off preventing any edits from asset records, and requiring that even the administrator open the make/model record to edit the Model Category field.



Cheers,


                      Geoff.