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 :

<?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.