Skip to main content
How can I change the package XML before deploying?

Download the deployment package of your comparison run in 'Compare and deploy' to make an edit(s) to it

Jacob Joshua avatar
Written by Jacob Joshua
Updated over a month ago

Gearset breaks down metadata components into individually deployable parts allowing you to deploy a single Custom field on a parent Custom object, or an individual field permission in a bigger Profile.

However, sometimes the thing you want to deploy does not fall under that neatly divided component that Gearset recognizes, and it's not part of our Precision deployments.

This guide explains the workaround available.

  1. Select the parent component you want to deploy and get to the Deployment summary page.

  2. Select the Download package... button to download the zip file.

  3. In your file explorer, unzip your zip package and open the metadata with your text editor.

  4. Remove or amend the metadata XML as desired and re-zip the package.

  5. Go to Compare and deploy and select Local files as the source, then click on Upload zip and select the amended zip package. Select the original target org and click on Compare now to initiate the comparison process. Make sure to amend the metadata filter accordingly to your needs.

Did this answer your question?