function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Firas Taamallah 18Firas Taamallah 18 

Why i can't give edit access to case's field ?

Hello , 

I'm trying to give Edit access to System Admin but i couldn't
It's an indexing Field

User-added imageHow can i achieve this ?
Thanks,
SwethaSwetha (Salesforce Developers) 
HI Firas,
As mentioned in https://help.salesforce.com/articleView?id=000332444&type=1&mode=1, The date of a closed Case cannot be manually edited. This field is considered to be an 'audit field' and is set when the case is moved to the Closed status.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.Thank you
Malika Pathak 9Malika Pathak 9
A user has permission to edit a Field via Permission Set but is unable to do so.

Permission Sets cannot provide edit access to a Field which has been designated as Read only on the Page layout by providing Read/ Edit to the Field.

The only permission which grants the ability to edit Fields that is set to Read only at the Page layout Level, is the Edit Read Only Fields System Permission which is Global in nature (Applies to all Read Only Fields in the System).

Summary: Permissions sets can override Field Level Security, however, they cannot override Page layout Security.
ResolutionTo allow for the User to edit this Field, simply remove the Read Only Designation at the Page layout Level- leaving it Read only at the Field Level. 


When using Salesforce Classic:

1. Click Setup.
2. Find the object in use.
 
For Standard Objects

2a. Go to Customize.
2b. Select the object in use.

For Custom Objects

2a. Go to Create.
2b. Click Objects.
2c. Select Object in use.
 
3. Select Page Layouts.
4. Select the Page Layout in use.
5. Scroll down and look for the field.
6. Hover your cursor on the field.
7. Click the wrench on the right side.
8. Deselect the Read Only checkbox.
9. Click Save.
 

When using Lightning Experience

1. Click the gear icon on the upper right side of the Page.
2. Click Setup.
3. Click the Object Manager on the navigation bar.
4. Find the object in use.
5. On the left side, click Page Layouts.
6. Select Page Layout in use.
7. Scroll down and look for the field.
8. Hover your cursor on the field.
9. Click the wrench on the right side.
10. Deselect the Read Only checkbox.
11. Click Save.