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.

Result ObjectsDeployResultNamesuccessTypebooleanDescriptionIndicates whether the deployment was successful (true) or not (false).DeployMessageEach DeployResult object contains one or more DeployMessage objects. Each DeployMessage object contains informationabout the deployment success or failure of a <strong>com</strong>ponent in the deployment .zip file:NamechangedcolumnNumber<strong>com</strong>ponentTypecreatedcreatedDatedeletedfileNamefullNameidlineNumberproblemproblemTypesuccessTypebooleanintstringbooleandateTimebooleanstringstringIDintstringDeployProblemType(enumeration oftype string)booleanDescriptionIf true, the <strong>com</strong>ponent was changed as a result of this deployment. If false,the deployed <strong>com</strong>ponent was the same as the corresponding <strong>com</strong>ponent alreadyin the organization.Each <strong>com</strong>ponent is represented by a text file. If an error occurred duringdeployment, this field represents the column of the text file where the erroroccurred.The metadata type of the <strong>com</strong>ponent in this deployment.This field is available in <strong>API</strong> version 30.0 and later.If true, the <strong>com</strong>ponent was created as a result of this deployment. If false,the <strong>com</strong>ponent was either deleted or modified as a result of the deployment.The date and time when the <strong>com</strong>ponent was created as a result of this deployment.This field is available in <strong>API</strong> version 30.0 and later.If true, the <strong>com</strong>ponent was deleted as a result of this deployment. If false,the <strong>com</strong>ponent was either new or modified as result of the deployment.The name of the file in the .zip file used to deploy this <strong>com</strong>ponent.The full name of the <strong>com</strong>ponent.Inherited from <strong>Metadata</strong>, this field is not defined in the WSDL for this metadatatype. It must be specified when creating, updating, or deleting. See create()to see an example of this field specified for a call.ID of the <strong>com</strong>ponent being deployed.Each <strong>com</strong>ponent is represented by a text file. If an error occurred duringdeployment, this field represents the line number of the text file where the erroroccurred.If an error or warning occurred, this field contains a description of the problemthat caused the <strong>com</strong>pile to fail.Indicates the problem type. The problem details are tracked in the problemfield. The valid values are:• Warning• ErrorThis field is available in <strong>API</strong> version 18.0 and later. Prior to version 18.0, therewas no distinction between warnings and errors. All problems were treated aserrors and prevented a successful deployment.Indicates whether the <strong>com</strong>ponent was successfully deployed (true) or not(false).65

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

Saved successfully!

Ooh no, something went wrong!