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:

Page Layouts and Field Level Security:

Hope this helps!

Happy coding!

Best regards,
Martijn Schwärzer