Mass Profile Update in Salesforce. A Quick Step-by-Step Guide
Tags: salesforce, profile, salesforceadministration, massprofileupdate
Published: 2023-11-30 21:50:38

Managing profiles and permissions efficiently is a must for Salesforce developers to keep accesses up-to-date and prevent data leakage. If in your Salesforce organization most of the permissions are set in profiles, not permission sets, you may face the task of updating many profiles for some specific permission. And the more profiles you need to update, the more time it will take. Mass-updating profiles saves significant time and ensures consistent configurations across multiple profiles. It’s an efficient way to bulkify and optimize your work within the scope of standard Salesforce functionality.
Now, let's dive into the steps:

##Navigate to the Profiles Page

Begin by logging into your Salesforce organization and accessing the Setup menu. In the Quick Find box, type "Profiles" and select the "Profiles" option.


![Profiles page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3zbveehop9rze2x2sekz.png)

##Create a Targeted List View

To be able to update several profiles at the same time, we need to create a profile list view. 

![Create List View](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7ose7qizcsijrkb519e2.png)

This view can be filtered based on profile properties, such as displaying only custom profiles. If you are creating a list view only for mass profile updates, I suggest filtering profiles to display only custom ones - only custom profiles can be edited.

![List view filters](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x3djso4mx0p63teeg79q.png)


Also, add all the fields that you need to mass update. In my example, it will be a field for Opportunity deletion and Contact deletion. Then save this list view.


![Fields to display](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6bxv91qmfrwtb14tc8ve.png)

##Select list view and profiles for editing

Select your list view from the dropdown.
Then select all the profiles for which you want to mass update the permission.
Also, you can choose all the profiles by selecting the first checkbox.


![Profiles selected](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ancoc49briz4tkfsjkk.png)

##Double-Click the Permission to Edit

Double-click on the permission you want to modify. Whether you're editing one or multiple profiles, this action opens a convenient dialog box for quick adjustments.


![Dialog opened](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6wfifw5play5ruqjo7e.png)

##Modify Permissions in the Dialog Box

Within the dialog box, enable or disable the permission as needed. 

##Handle Cascading Changes

Pay attention to the cascading changes that may affect other permissions. The dialog box will highlight any affected permissions, ensuring you're aware of the broader impact.

##Save Changes

To apply changes across multiple profiles, select "All n selected records" (where n is the number of profiles you've chosen). Complete the process by clicking the "Save" button.


![Profiles are mass updated](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q7fwdl4987hbf2krhe2v.png)

By following this guide, you can seamlessly update permissions across multiple profiles.

Remember, utilizing list views with targeted filters and displayed fields enhances your profile management capabilities, allowing you to complete your tasks faster. Happy optimizing!