when building a sharepoint list, i always have a requirement to have a field which can not be edited using the list forms + can not be edited using quick edit grid >> so i always set the field as read-only using this PnP script:-

PS C:\WINDOWS\system32> $clientContext = Get-PnPContext
PS C:\WINDOWS\system32> $targetField = Get-PnPField -Identity "ApproverFeedbackandnotesPowerBi"
PS C:\WINDOWS\system32> $targetField.ReadOnlyField = 1

but setting a field as read-only will hide the field from the list settings >> which will make managing these read-only fields hard, since they are hidden inside the list settings.. So is there a way to set a field as Read-Only but at the same time to show it inside the list settings (similar to how the built-in fields such as created + createdby work)?


1 Answer 1


As a workaround, try to edit column settings on UI, as shown below:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.