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?

1
  • Crashzilla, as per my knowledge answer to both of your question is no. Commented Aug 18, 2019 at 8:27

1 Answer 1

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
  • 1
    Thanks for the info.
    – Crashzilla
    Commented Aug 20, 2019 at 12:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .