3

I have custom object called candidate. I have created field name called first name which is read-only in the page layout. Once a record is created with first name field populated I am able to edit that field. Why I am able to edit (I mean getting pencil icon). Can anyone suggest me for this issue?

2 Answers 2

7

Are you doing this as a system admin?

System Admin profile has the option "Edit Read Only Fields" under "Administrative Permissions" and this means that profile is always able to edit read only fields.

Try logging in as a user with a different profile.

0
0

System Admin profile has the option "Edit Read Only Fields" under "Administrative Permissions" and this means that profile is always able to edit read only fields.

System Admin already has this permission but my custom LWC component is still not showing the fields which are read only

2
  • Welcome to Salesforce Stack Exchange (SFSE). Please see the various pertinent/relevant notes in Why and how are some answers deleted?, and be aware that your "answer" will most likely be deleted. Please contribute to SFSE in other ways so that you gain reputation - you only need 15 rep to upvote a question and only 50 rep to comment under someone else's question. Or you could possibly ask a new question, and in it you can link to this question or other answer for reference.
    – Moonpie
    Jun 2 at 13:55
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review Jun 2 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.