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
Sarvesh PrajapatiSarvesh Prajapati 

A group of users must be prevented from updating a custom field. What’s the most secure method of preventing this?

Martijn SchwarzerMartijn Schwarzer
Hi Sarvesh,

If you want to prevent all updates, you can disable this field for one or more profiles using field level security.

Please check out the following sections in the Salesforce Help:

Field access:
http://help.salesforce.com/apex/HTViewHelpDoc?id=customize_fieldaccess.htm&language=en

Page Layouts and Field Level Security:
https://help.salesforce.com/apex/HTViewHelpDoc/HTViewHelpDoc?id=customize_layoutoverview.htm&language=en

Hope this helps!

Happy coding!

Best regards,
Martijn Schwärzer