Skip to main content
All CollectionsCompare and deploy metadataMetadata filters
Using source tracking as a custom filter in Compare and deploy
Using source tracking as a custom filter in Compare and deploy

Learn about using source tracking as a custom filter in our improved 'Compare and deploy' feature

Stephen Chambers avatar
Written by Stephen Chambers
Updated over 3 months ago

What is source tracking?

Source tracking is a Salesforce feature designed to automatically track changes in scratch orgs, Developer and Developer Pro sandboxes. Accessing information about how the sandbox org has changed via source tracking is significantly faster than relying on the standard Salesforce metadata API.
โ€‹

How to enable source tracking for Developer and Developer Pro sandboxes

To enable source tracking, you first need to enable it in your production org. If it's already enabled you can begin taking advantage of the performance benefits of source tracking in Gearset (see below).

For the steps required to enable source tracking in your production org, or to check if it's already enabled, see the latest Salesforce documentation.

Note: After source tracking has been enabled in your production org, any existing developer or developer pro sandboxes will need to be refreshed in order to take advantage of source tracking.

Gearset comparison filters and source tracking

Gearset uses the native source tracking functionality in your Salesforce org to automatically build a comparison filter showing you how your org has changed. It removes the need to spend time customising a comparison filter by hand, and instead enables Gearset to immediately create it for you based on source tracking information from the org.

How do I use source tracking in Gearset?

Using source tracking in Gearset is a very simple process. Simply:

  • Switch to COMPARISON in the comparison results.

  • Choose the Source tracking option from the list of available filters.

  • Gearset will build and apply a custom filter for you.

Did this answer your question?