DX Overview

Updated 3 weeks ago by Copado Solutions

Copado DX and Salesforce DX

Copado DX is a feature built on top of Copado Change Management and Copado Branch Management. It offers a point-and-click framework that allows you to fully use the CLI commands without even having to open up a terminal. From creating DX project templates and packages to committing and promoting them, Copado handles all the hard work for you.

Benefits of Working with Copado DX

  • The use of packages allows you to test and develop a group of features or applications independently from other features in your Salesforce orgs.
  • You can use unlocked packages to create automation and customizations on top of your existing AppExchange applications.

Copado DX and Copado Branches

Copado handles the new metadata structure that comes with Salesforce DX.

We have introduced two new types of branches specifically for this:

  • project/DX-123456789012
    This branch is created when metadata is loaded to a scratch org and contains all the commits of the related user stories.
  • project/DX-123456789012-
    A remote branch is also created when metadata is loaded to a scratch org and updated every time a source status is done in the DX Operation Panel. This branch always has all the pulled metadata of the scratch org, that can be loaded into another scratch org later.

Copado DX and Package Repositories

Packages is a Salesforce DX concept, therefore they must be stored in the DX structure. In order to do this, Copado does a conversion of a Metadata API structure and holds the whole package inside a specific repository. We call these 'Git packages' and they can be loaded to any scratch org just by selecting the parent organization.

Whenever a package element is promoted and is part of a release, Copado automatically tags the related branch (usually master for a package repository).

How did we do?