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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Deploying and Retrieving <strong>Metadata</strong>Sample package.xml Manifest FilesMyCustomObject__cCustomObjectIn order to deploy the destructive changes, you must also have a package.xml file that lists no <strong>com</strong>ponents to deploy, includesthe <strong>API</strong> version, and is in the same directory as destructiveChanges.xml:30.0See Also:<strong>Metadata</strong> TypesSample package.xml Manifest FilesThis section includes sample package.xml manifest files that show you how to work with different subsets of metadata. Amanifest file can include multiple elements so you could <strong>com</strong>bine the individual samples into one package.xmlmanifest file if you want to work with all the metadata in one batch. For more information about the structure of a manifestfile, see Working with the Zip File. The following samples are listed:• All Custom Objects• Custom Fields• Packages• Security Settings• Assignment Rules, Auto-response Rules, Escalation Rules• Managed Component Access on page 18All Custom ObjectsThis sample package.xml manifest file illustrates how to work with all custom objects.*CustomObject30.0This manifest file can be used to retrieve or deploy all custom objects. This does not include all standard objects.Custom FieldsThis sample package.xml manifest file illustrates how to work with custom fields in custom and standard objects.MyCustomObject__c.MyCustomField__cCustomField16

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

Saved successfully!

Ooh no, something went wrong!