The Blue Canvas Developer Hub

Welcome to the Blue Canvas developer hub. You'll find comprehensive guides and documentation to help you start working with Blue Canvas as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Rollback a Salesforce Release

How to rollback a Salesforce release with Blue Canvas and Git.

There are 3 ways to rollback a Salesforce release with Blue Canvas:

  1. Rollback from a previous state of your org
  2. Partially rollback select components
  3. Restore an org from another version of another org

Rolling Back to a Previous State of Your Org

Rolling back to a previous state of your org is simple.

  1. Click the Compare tab and select the sandbox or org that you want to rollback. Note: select the same org for source and destination.

  2. Once selected, click the Compare button.

  3. Click Create a Deployment Request.

  4. Below the Tag section in the DR you should see a dropdown menu titled Source Snapshot. Click the dropdown menu and you will see a list of the latest 50 commits to your org with timestamps.

select commit for rollback here

select commit for rollback here

Rolling Back Beyond the last 50 Commits

Though Blue Canvas maintains a history that goes back until the beginning of your connection to Blue Canvas, at the moment we only support rolling back the latest 50 commits in the UI. If you need to rollback beyond that please email team@bluecanvas.io and our support team will be happy to assist you.

  1. Select the commit just prior to the commit you want to rollback to. This will generate a list of components. You can select any or all of the components that you want to restore to that version.

  2. Title the Deployment Request and click Create Deployment Request

  3. Once the Deployment Request validates you can click `Quick Deploy' to deploy the rollback.

Rollback Valiations

Note that a rollback must validate normally like any other Deployment Request. Given the complex dependency chain associated with rollbacks, please note that it make take some tuning to get the rollback to go through successfully. Please contact support at team@bluecanvas.io if you need help.

Partial Rollbacks

Because Blue Canvas is Git-based, we can actually create highly granular rollbacks of single components rather than to a full snapshot. Let's say that you want to just rollback a single field or restore a deleted Apex class without rolling back an entire release.

The process is much the same as creating a rollback. Just follow the steps above and select which components you want to rollback rather than selecting all.

Restore an Org from Another version of Another Org

Let's say you want to spin up a sandbox which looks like production 2 releases ago. You can now do that.

  1. Click the Compare tab and select the sandbox or org that you want to rollback. Note: select the different orgs for source and destination.

  2. Once selected, click the Compare button.

  3. Click Create a Deployment Request.

  4. Below the Tag section in the DR you should see a dropdown menu titled Source Snapshot. Click the dropdown menu and you will see a list of the latest 50 commits to your org with timestamps.

  5. Select the commit just prior to the commit you want to rollback to. This will generate a list of components. You can select any or all of the components that you want to restore to that version.

  6. Title the Deployment Request and click Create Deployment Request

  7. Once the Deployment Request validates you can click `Quick Deploy' to deploy the rollback.

Rollback a Salesforce Release


How to rollback a Salesforce release with Blue Canvas and Git.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.