All Collections
Dedicated deployment solutions
Gearset for CPQ
Gearset external ID setup wizard
Setting up your orgs for successful CPQ deployments via a full copy sandbox refresh approach
Setting up your orgs for successful CPQ deployments via a full copy sandbox refresh approach

How to align existing CPQ configuration in your environments using Gearset's CPQ external ID setup and a sandbox refresh

Stephen Chambers avatar
Written by Stephen Chambers
Updated over a week ago

Before you're able to start comparing and deploying your CPQ configuration between environments, it's critical that you first get your CPQ config aligned in your environments. Having the building blocks in place before doing any additional CPQ development means you can easily track changes and avoid deploying duplicates.

Running the external ID setup for your org(s) in Gearset

A core part of being able to sync your CPQ configuration is to add Gearset's external ID. Without this in place, Gearset cannot track and manage the deployment of your CPQ configuration and avoid duplicates from being deployed. You can read more about how to run the setup wizard from our external ID setup documentation.

Aligning existing CPQ records via a full copy sandbox refresh and the Gearset external ID setup

The cleanest way to make sure your full copy sandbox and production org CPQ configuration are perfectly in sync and have the Gearset external ID, is via a full copy sandbox refresh, after having run the external ID setup on your production org first.

Note: The setup requires you to do a full copy sandbox refresh, so you should ensure that all necessary metadata and CPQ config that you care about from your full copy sandbox are in your production org before starting the process.

Step 1: Run the Gearset external ID setup on your Production org

Gearset will perform a metadata deployment to add its external ID field to CPQ and related standard CPQ objects, followed by a data deployment to populate its external ID field derived from the existing Salesforce record ID.

Step 2: Perform a full copy sandbox refresh to perfectly align it with production

Once the Gearset external ID has been successfully added and populated with the existing record IDs, you can now perform a full copy sandbox refresh. This will leave your Production and Full Copy Sandbox perfectly in sync.

Step 3: Deploy from dev to full copy sandboxes to production for better CPQ configuration deployments

You can seed existing CPQ config to your developer sandboxes or deploy new CPQ config to downstream environments. Gearset will automatically handle the population of existing record IDs for any new config at deployment time.

Did this answer your question?