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.

Result ObjectsReadResultNamepartialSaveAllowedTypebooleanDescriptionIndicates whether rollbackOnError is allowed (true) or not (false).This value is always :• false in production organizations.• the opposite of testRequired.testRequiredbooleanIndicates whether tests are required (true) or not (false).This value is always the opposite of partialSaveAllowed.Describe<strong>Metadata</strong>ObjectThis object is returned as part of the Describe<strong>Metadata</strong>Result. Each Describe<strong>Metadata</strong>Object has the following properties:NamechildXmlNamesdirectoryNameinFoldermetaFilesuffixxmlNameTypestring[]stringbooleanbooleanstringstringDescriptionList of child sub-<strong>com</strong>ponents for this <strong>com</strong>ponent.The name of the directory in the .zip file that contains this <strong>com</strong>ponent.Indicates whether the <strong>com</strong>ponent is in a folder (true) or not (false). For example,documents, email templates and reports are stored in folders.Indicates whether the <strong>com</strong>ponent requires an ac<strong>com</strong>panying metadata file. Forexample, documents, classes, and s-controls are <strong>com</strong>ponents that require anadditional metadata file.The file suffix for this <strong>com</strong>ponent.The name of the root element in the metadata file for this <strong>com</strong>ponent. This namealso appears in the Packages > types > name field in the manifest filepackage.xml.ReadResultContains result information for the read<strong>Metadata</strong> call.VersionAvailable in <strong>API</strong> version 30.0 and later.PropertiesNamerecordsType<strong>Metadata</strong>[]DescriptionAn array of metadata <strong>com</strong>ponents returned from read<strong>Metadata</strong>().RetrieveResultContains information about the success or failure of the associated retrieve() call.The metadata retrieve() call returns a RetrieveResult object.69

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

Saved successfully!

Ooh no, something went wrong!