Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make a field "read only" in Sitecore?

Tags:

sitecore

In my "User" template, I have a "userid" field, which is a "Single Line Text" control. I want to make this field "Read Only" for all user items being created using this template. How can I do this?

like image 895
Dhanuka777 Avatar asked Aug 22 '13 06:08

Dhanuka777


1 Answers

Open the Security Editor, select the Role you want to give only read access. Make sure you have the Field read en Field Write volumns visible in the Security Editor (open the Columns-option in the header menu).

Display the Field Read and Field write columns

Then disable the Field Write for the selected field. Repeat this for every other Role you want to give only read access.

enter image description here

The check the access for the specific user/role in the Access Viewer.

like image 148
Martijn van der Put Avatar answered Nov 11 '22 13:11

Martijn van der Put