Geeks With Blogs

Sathya Narayanan Srinivasan .NET Developer

Learnt a new thing today in Salesforce.

I was wondering how to make a field read only for system admins in Salesforce.

I configured particular fields to read only for a cloned system admin profile :-

  • Field Accessibility
  • Field Level Security
  • Page Layout

In spite of that it was allowing me to edit the field while creating a new record or editing it.

Then found out that if it is a profile that is cloned from System Admin,

We have a Permission called Edit Read Only Fields

and that was checked for that profile.

I disabled the same and saved it and it worked finally.

 

 

Posted on Wednesday, October 27, 2010 1:54 AM | Back to top


Comments on this post: Edit Read Only Fields Permission in Salesforce

# re: Edit Read Only Fields Permission in Salesforce
Requesting Gravatar...
Can you please help me how to navigate to "Edit Read Only Fields"
Left by Hari on Sep 05, 2011 5:08 PM

# re: Edit Read Only Fields Permission in Salesforce
Requesting Gravatar...
That is a way out.. But what if I am using this Permission set somewhere else. But I still want some specific field to be made as "Read Only".
Is there a way for that?
Left by Nikita Jain on Jan 15, 2014 11:21 AM

# using metadata api how to give field visible permission using apex code?
Requesting Gravatar...
Hi ,
Actually i created fields using metadata api but created fileds Field-Level Security for Profile(Administrator) place visible and editable checkboxes not checked(any profile not checked i am a administrator).Every time i will goto Setup->Manage->users>administrator->custom field level security->related object name and click view and checked to metadata created fields visible and editable.How to check this visible and editable checkboxes Using apex DML permissionsets dynamically through Coding?.

please help me.........
Left by mahesh on Jun 14, 2014 11:46 AM

# re: Edit Read Only Fields Permission in Salesforce
Requesting Gravatar...
thanq very much....
Left by JyothsnaReddy on Jun 27, 2014 4:15 PM

Your comment:
 (will show your gravatar)


Copyright © sathya | Powered by: GeeksWithBlogs.net