12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Metadata</strong> TypesPermissionSetFieldenablednameField TypebooleanstringDescriptionRequired. Indicates whether the permission is enabled (true)or disabled (false).Required. The name of the permission.Declarative <strong>Metadata</strong> Sample DefinitionWhen adding or changing a permission set, you don't need to include all permissions—you only need to include the permissionsyou're adding or changing.Grants all rights needed for an HR administrator to manageemployees.HR Administration<strong>Salesforce</strong>JobApps__Recruitingtruetrue<strong>API</strong>EnabledtruetruetruetruetruetrueJob_Request__ctrueJob_Request__c.Salary__ctrueJob_Request_Web_FormtrueSend_Email_ConfirmationtrueJob_Request__cAvailableRecruiting.DevManagertrueThe following is an example package.xml manifest used to retrieve the PermissionSet metadata for an organization. Whenyou retrieve permission sets, you should also retrieve the related <strong>com</strong>ponents with assigned permissions. For example, to retrieveobjectPermissions and fieldPermissions for a custom object, you must also retrieve the CustomObject <strong>com</strong>ponent.Job_Request__c129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!