You need to sign in to do that
Don't have an account?

Read Only Fields for System Administrator
Hi All
I just started working with the force.com platform a few days ago, so my question is very basic.
I have an object with two text fields with field level security set to read only for ALL profiles, and both have a default value. However, when i'm logged in as system administrator, the fields are editable (both when i create a new record and when i edit an already existed one). For other profiles, the fields are indeed read only. If that's how the system is supposed to work, why do i have at all the option to set fields as read only for system administrator, when this setting is overriden?
I just started working with the force.com platform a few days ago, so my question is very basic.
I have an object with two text fields with field level security set to read only for ALL profiles, and both have a default value. However, when i'm logged in as system administrator, the fields are editable (both when i create a new record and when i edit an already existed one). For other profiles, the fields are indeed read only. If that's how the system is supposed to work, why do i have at all the option to set fields as read only for system administrator, when this setting is overriden?
So, as you probably already found out, there is a permission called "Edit read-only fields" on the System Administrator profile, like other profiles. The only problem is that you are not allowed to edit this permission in a standard system profile.
If you really want to prevent sys admins from editing read-only fields, you can clone the System Administrator profile and uncheck that permission in the new profile.
Hope this helps.