I am getting this warning that "Security prevents writing to this field".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 04:03 AM
I am trying to update the Display Name of a field but I am not able to do it and I am getting this error warning saying "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 05:44 AM
Hi @Hrishabh Kumar ,
This is an expected product design behavior. However, if you would like to avoid this warning message, make the field editable on the client side, or make it read-only at the server level so that you will have same behavior across list v2, list v3 and form.
Check to see if there is an ACL on that table with the operation list_edit.
In general, the message "Security prevents writing to this field" appears when:
- A user is trying to edit a field on list (v2 or v3), but the field was set as read-only at the server level ( ACL, dictionary, etc)
- A user is trying to edit a field on list v3, but the field was set as read-only at the client side (Client script, UI Policy, etc). In this case, the issue doesn't show up on list v2, because it doesn't honor the UI policy and client script, where it applied only at the form level.
Or, you can simply open the record and update.