PermissionSet Builder

Posted by ExiaHuang on October 27, 2018

Topic

  1. Build permissionset file

Environment

  • Make sure you can login your sfdc. Test it : SFDC-XY > Login SFDC

Create Permission.xml

Open SObject Manager Page

Permission Builder> Build Profile FieldPermissions

1540457828769

Select your field

1540457987197

The Permissionset file :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" ?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
  <fieldPermissions>
    <editable>true</editable>
    <field>Blog__c.comment__c</field>
    <readable>true</readable>
  </fieldPermissions>
  <objectPermissions>
    <allowCreate>true</allowCreate>
    <allowDelete>true</allowDelete>
    <allowEdit>true</allowEdit>
    <allowRead>true</allowRead>
    <modifyAllRecords>true</modifyAllRecords>
    <object>Blog__c</object>
    <viewAllRecords>true</viewAllRecords>
  </objectPermissions>
  <hasActivationRequired>false</hasActivationRequired>
  <label>AllPermission</label>
  <license>Salesforce</license>
</PermissionSet>

Deploy permission.xml

right click , deploy it.