1

So I'm playing with deploys using the metadata API and I have 2 questions.

  1. I noticed that when you deploy using metadata the deploy name in "Deployment Status" is just an Id, can I change the name?

  2. I also couldn't find what was inside the deploys. Is there anywhere I can check what was deployed in each package?

  • Crashzilla, as per my knowledge answer to both of your question is no. – Shanker Paudel Aug 18 at 8:27
1
  1. Out of the box - no. Metadata deployments are tracked via an Id. You can create custom object(s) and custom screen(s) to manage a metadata deployment. For example, one custom object could map the deployment Id to your custom deployment name.

  2. Yes. When you deploy metadata via deploy(), there's a performRetrieve flag that when set to true allows you to retrieve the metadata package details when the deployment is done. To grab these details, you have to make another call via checkDeployStatus() and set includeDetails flag to true. With both flags on both of these calls set to true, the deployment details are available in DeployResult (see details -> RetrieveResult -> fileProperties)

  • 1
    Thanks for the info. – Crashzilla Aug 20 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.