Loading
Manage and Release Changes Easily and Collaboratively with DevOps...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Swap a Development Environment

          Swap a Development Environment

          Swap a development environment with another development environment. If your development environment is a Developer or Developer Pro sandbox that was recently refreshed, the connection to the existing environment is no longer valid. You must swap the sandbox to reestablish the connection to it in DevOps Center.

          Required Editions

          Permission Sets Needed
          To swap an environment: DevOps Center Manager
          To access the named credentials required to authenticate to the environment: sf_devops_InitializeEnvironments
          Important
          Important We recommend that all sandboxes are refreshed from your production (release environment), or cloned from a pipeline stage or an existing development environment.

          Before you swap the dev environment, keep these things in mind:

          • We recommend that you promote all work items before refreshing the sandbox.
          • When you refresh the sandbox, you lose any changes in the current environment that weren’t pulled and committed to work item feature branches in the source control repository.
          • Any changes in the old sandbox that were pulled and committed, but not promoted, are in the work item’s feature branch but aren’t visible in the new sandbox. To view the committed changes in the new sandbox, promote the affected work items and then perform a sync from the first pipeline stage’s branch back to the sandbox. See Synchronize Your Development Environment for details.
          • The DevOps Center connection to the current environment is no longer usable.
          • The new dev environment must have source tracking enabled.
          1. In the Pipeline Environments tab, select Swap Environment from the environment’s menu.
          2. Click I Understand to acknowledge the considerations, then click Continue.
          3. Select Log In to New Environment, then click Log In.
          4. Complete the login process.

          After the swap is complete, check to see if the development environment is out of sync. If so, we recommend synchronizing the environment before continuing work.

           
          Loading
          Salesforce Help | Article