美文网首页
2021-07-01 Salesforce Read Only

2021-07-01 Salesforce Read Only

作者: 古月的小七 | 来源:发表于2021-07-07 16:34 被阅读0次

    在Set Field-Level Security中,我们有两个Option,如下图所示,一个是Visible,一个是Read Only。基于这两个Option我们可以得到:
    If you checked only 'Visible' checkbox then that field will be editable to the users in that profile (Read+Edit).
    If you click on both Visible & Read-only then that field will be "Read-only" to that users in that profile.
    If you do not check both checkbox for Visible & Read only then that field will be Hidden from users in that profile.

    Field-Level Security
    • 如果你选择了Read Only的Option,然后触发Trigger去操作该字段的话,你会得到如下的Error Message:System.Exception: Record is read-only

    对于标准字段:
    字段本身对所有Profile都是可见且不允许修改的
    对于标准且Require的字段,是不能从Page Layout上移走的

    Page Layout png

    相关文章

      网友评论

          本文标题:2021-07-01 Salesforce Read Only

          本文链接:https://www.haomeiwen.com/subject/jefsultx.html