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 ObjectsRetrieveResultEach RetrieveResult object has the following fields:NamefilePropertiesidmessageszipFileTypeFileProperties[]IDRetrieveMessage[]base64BinaryDescriptionContains information about the properties of each <strong>com</strong>ponent in the .zip file,and the manifest file package.xml. One object per <strong>com</strong>ponent is returned.ID of the <strong>com</strong>ponent being retrieved.Contains information about the success or failure of the retrieve() call.The zip file returned by the retrieve request. Base 64-encoded binary data. Priorto making an <strong>API</strong> call, client applications must encode the binary attachment dataas base64. Upon receiving a response, client applications must decode the base64data to binary. This conversion is usually handled for you by a SOAP client.FilePropertiesThis <strong>com</strong>ponent contains information about the properties of each <strong>com</strong>ponent in the .zip file, and the manifest filepackage.xml. One object per <strong>com</strong>ponent is returned. Note that this <strong>com</strong>ponent does not contain information about anyassociated metadata files in the .zip file, only the <strong>com</strong>ponent files and manifest file. FileProperties contains the followingproperties:NamecreatedByIdcreatedByNamecreatedDatefileNamefullNameidlastModifiedByIdlastModifiedByNamelastModifiedDatemanageableStateTypestringstringdateTimestringstringstringstringstringdateTimeManageableState(enumeration of typestring)DescriptionRequired. ID of the user who created the file.Required. Name of the user who created the file.Required. Date and time when the file was created.Required. Name of the file.Required. The file developer name used as a unique identifier for <strong>API</strong>access. The value is based on the fileName but the characters allowedare more restrictive. The fullName can contain only underscores andalphanumeric characters. It must be unique, begin with a letter, not includespaces, not end with an underscore, and not contain two consecutiveunderscores.Required. ID of the file.Required. ID of the user who last modified the file.Required. Name of the user who last modified the file.Required. Date and time that the file was last modified.Indicates the manageable state of the specified <strong>com</strong>ponent if it is containedin a package:• beta• deleted• deprecated• installed• released• unmanagedFor more information about states of manageability for <strong>com</strong>ponents inForce.<strong>com</strong> AppExchange packages, see “Planning the Release of ManagedPackages” in the <strong>Database</strong>.<strong>com</strong> online help.70

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

Saved successfully!

Ooh no, something went wrong!