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
Vishalg89Vishalg89 

Lock salesforce custom field as created date

Hi,

 

can we lock a custom field from page layout, as created_date/modified_date? And only sys admin can only be able to modify that field.

Please suggest me regarding this.

 

Thanks

Vishal Gupta

Bhawani SharmaBhawani Sharma
Mark the field read only for all the profiles.
Go to filed -> Set Field Level Security -> Read only header checkbox
souvik9086souvik9086

Hi,

 

Yes you can do that. Go to the Field Level Security. Click the read only chack box for all the profiles except the Sys Admin profile.

 

If this post solves your problem kindly mark it as solution. if this post is helpful please throw Kudos.

Thanks