Posts

Showing posts with the label Sitecore Items

Make Sitecore Field Read-Only

Image
In this blog, I will discuss with you How to make Sitecore Item Field Read-Only. Scenarios: I have fetched the data from an external Database and create Sitecore items into the content tree and update the field values of items in the Sitecore content tree. There are Sitecore jobs that will run periodically and perform the above operations, but content editors can update those data and we can lose the actual values. Solution: As you are aware that access rights are applied on Sitecore Items so to resolve the above issue, I made the Sitecore item fields Read-only. Find below the steps to make the Sitecore Items field read-only: Go to the respective items template and find the field which you want to make read-only. Here I am doing with the Title field: In the Ribbon Bar menu click on the View button and make sure that both Standard fields and Raw values checkbox are checked: Go to the security section in the right panel and insert the below text into that security[shared] field and sav...