How to set field level security in salesforce

Field Level Security gives permissions to administrators to restrict user’s access to view and edit some specific fields.

At the object level, we can give permission on what users can do with salesforce records like users can read, edit, create, delete etc. Object permissions are given at object level. To restrict certain sensitive fields from your users and don’t want to display these fields to all users, we can do it by using field level security.

For example, your Manager wants to keep approval of the leave field to select employees, you can restrict the user's access by using field level security on that particular field.

Page Layouts and Field level security settings determine which fields a user sees.

There are two ways to set field level security

1. To Set Field Level Security from profile:

From Setup Enter Administer--> Security Controls--> Field Accessibility

Click on Field Accessibility.

Now you get the list of object records available in your organization. Select one of the objects whose field to be modified.

Under Choose your view section we will have view by fields and view by profiles options.

If we select View By Fields option, we can access field level security for only one field.

Click on View by fields and select the required field from drop down, click on field access with suitable profile and edit the field level security.

Click on View by Profiles, Select Profile from drop down and edit the field level security by clicking on the required field name.

In Another Way,

From Setup enter Administer--> Manage Users--> Profiles

Click on Required Profile

Under Field level Security Section, click on view for desired field and edit the field level security for that field.

Only two options Read access and Edit access are available.

Click on Save

2. Field level security by Set Field Level Security Button:

Go to the field you want to set the field level security

Click on Set Field Level Security Button

Change the visible and read only options for the particular profile

Click on save.

Posted On 27 March 2020 By MicroPyramid

About Micropyramid

Micropyramid is a software development and cloud consulting partner for enterprise businesses across the world. We work on python, Django, Salesforce, Angular, Reactjs, React Native, MySQL, PostgreSQL, Docker, Linux, Ansible, git, amazon web services. We are Amazon and salesforce consulting partner with 5 years of cloud architect experience. We develop e-commerce, retail, banking, machine learning, CMS, CRM web and mobile applications.

Need any Help in your Project?Let's Talk


Subscribe To our news letter

Subscribe and Stay Updated about our Webinars, news and articles on Django, Python, Machine Learning, Amazon Web Services, DevOps, Salesforce, ReactJS, AngularJS, React Native.
* We don't provide your email contact details to any third parties