How to Create a Snapshot Difference
Creating a Snapshot Difference
To create a snapshot difference follow the steps below:
- Navigate to the Snapshot Differences tab and click on New.
- Give your difference a name.
- Select the format in which you want the differences to be displayed. The available options are XML, YAML or JSON.
- Select a source and a destination option. It can be a Git commit or a Salesforce org.
- Based on the option selected in the previous step, select a source and a destination commit or Salesforce org.
- Click on Save:


- Once you click on Save and then on Calculate Differences, Copado will perform a full metadata retrieve/checkout of your source and destination org/commit (*1). Once completed, the differences will appear in the grid (example shown below):


If you choose a Git commit, whatever files are committed to the repository will be used for the comparison.
Creating a Partial Snapshot Difference
If you choose a Salesforce org as source, a Partial Selection checkbox becomes available. Choosing individual files will allow you to quickly compare only the selected files.
- Make sure that you select Salesforce org as source and destination and select the option Partial Selection:

- Select some files from the grid and click on Save:

- Click on Calculate Differences. Differences, if any, will be displayed in the same way as a regular snapshot difference.
After creating a snapshot difference, you can click on Create Deployment to create a standalone metadata deployment or on Commit Changes to commit the differences on a user story.