5

In Salesforce we have a custom object which has 500 fields. We have around 50 different profiles in our org. Out of this 50 profiles, 30 profiles need access to these fields.

Right now, to set field level security, we need to open these 500 fields and select all the profiles for which FLS is needed.

Is there any App Exchange tool available which allows these actions to do in bulk? In bulk means, a user can select all the profiles first and in second step user can select all the fields, for which FLS will be assigned.

Please let me know, if anyone is aware of such tools or better way to assign FLS for large number of fields.

4

Don't know of any tools that do this, but I'd do one of the following:

  1. Update a single profile via the UI to match the appropriate FLS, and then update the other profiles within the force.com IDE.
    i.e. copy and paste the XML from one profile on to the others. Be careful that you don't override any other values you care about. You'd probably want to do a git diff (or similar) to double check you're only updating the appropriate parts of the code

  2. Create a permission set for these fields, then apply the permission set to the appropriate users. If there are a large number of users, you can use an appexchnage product like 'The Permissioner' to assist.

If the number of profiles was smaller, I'd probably use one of the firefox extensions that lets you select an area of checkboxes to tick the correct permissions in the UI.

1

I have just released recently a package called BofPerMan which gives a flexibility to bulk update Object and Field Level permission

I have shot a promo video describing capabilities of my package BofPerMan which is published on AppExchange.

Here I discuss a possible case of a content management application consisting of two custom objects Book and Movie and a task to set Modify All and Create permission to both of these objects to two custom profiles, Content Manager User and Media Administrator and to Content Manager custom permission set. While this might be nasty and complicated task to perform using standard UI, it can be achieved in few clicks using BofPerMan package! Watch and see this in action

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.