How do I make a field “read only” in Sitecore?

China☆狼群 提交于 2019-12-08 20:45:43

问题


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?


回答1:


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).

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

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



来源:https://stackoverflow.com/questions/18372969/how-do-i-make-a-field-read-only-in-sitecore

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!