0

I have a requirement where i need to provide read and edit access to object fields in 18 different permission sets.

This looks like lot of manual work and will consume lot of time. Is there anyway where we can automate this process so that we can assign field access to multiple permission sets at a time.

Please suggest

2
  • Consider using an AppExchange offering such as BOFPerMan.
    – Phil W
    Mar 1, 2022 at 10:46
  • If you are comfortable using sfdx or the metadata API, you could do this for yourself using some scripting of some form.
    – Phil W
    Mar 1, 2022 at 10:47

1 Answer 1

3

In addition to comments , you can also simply prepare a csv file and insert all permissions in "FieldPermission" object.

Snapshot of excel to be inserted

enter image description here

In the snapshot below is understanding of each column :

Field --> Denotes your ObjectApiName.FieldApiName

ParentId --> It is the id of permission set you want to give access to. In case of profiles (Find its wrapper permission set by querying on permission set object)

PermissionEdit --> If edit permission allowed.

PermissionRead -> If read permission allowed.

SobjectType -> Again object api name

Once csv is ready simply go to your preferred tool (workbench) and insert the csv records

Note : Manual efforts are required in this method as well.

1
  • Thanks, it worked!!
    – SFDCUser
    Mar 1, 2022 at 12:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .