DX User Story Operation

Updated 2 months ago by Copado Solutions

Commit History

You can easily check the last 10 commits that are related to the selected user story.

Creating a Scratch Org

You can easily create scratch orgs for different functions such as feature development, development of packages that contain namespaces, or user acceptance testing. To create a scratch org you can select the existing definition template, create a new one, or define it manually. By default, scratch orgs are empty.

To learn more about a scratch org definition see the article Scratch Org Definition Details.

How to Create a Scratch Org by Using an Existing Org Definition Template
  1. Select the Org Definition Template from the drop down list. All options will be populated automatically.
  2. Fill in the Org Name input.
  3. Click on Create Scratch Org.
How to Create a Scratch Org by Defining the Org Definition Template Manually
  1. Fill in the Org Name input.
  2. Select the Country from the drop-down list to set the locale of the scratch org.
  3. Select the Language from the drop down list to set the language of the scratch org.
  4. Specify the Features that you want to enable for the scratch org.
  5. Specify the Org Preference Types that you want to enable or disable for the scratch org.
  6. Check Include Sample Data to create a scratch org with sample data.
  7. If you want to save the template to use in the future, fill in the Org Definition Template Name and click on Save as Template.
  8. Click on Create Scratch Org.

Extensions

Configure your scratch org beyond the definition file. Load Data, Metadata and all other operations that Copad's deployment offers.

To learn more about how to create a deployment, see the article Creating a Deployment.

To learn more about deployment steps, see the article Deployment Steps.

Loading Metadata 

Copado DX allows different ways of loading metadata into a scratch org such as; Git Artifact, Package Artifacts, Patch & Release, Branch and Metadata.

To learn more about metadata source options, see the article Metadata Source Options.

How to Load Metadata Using Git Artifact
  1. Select the Project Template from the drop down-list. It will populate Org Credentials which are related to selected Project Template and have artifacts.
  2. Select the Org Credential from the drop down-list. It will populate Artifacts.
  3. Select one or more Artifacts from the multi select list. Metadata of the selected artifacts will be loaded in Preview Artifact Metadata.
  4. Click on Load Metadata.
How to Load Metadata Using Package Artifact
  1. Select the Project Template from the drop-down list. It will populate Org Credentials which are related to selected Project Template and have artifacts.
  2. Select the Org Credential from the drop-down list. It will populate Artifacts.
  3. Select one or more Artifacts from the multi select list. Metadata of the selected artifacts will be loaded.
  4. Click on Load Metadata.
How to Load Metadata Using Patch & Release
  1. Select the Release by using the lookup icon. Tags will be loaded.
  2. Select the Tag from the Select Tag panel.
  3. Select the Tag Format from the drop-down list. 
  4. Click on Load Metadata.
How to Load Metadata Using Branch
  1. Select the Repository by using the lookup icon. Branches will be loaded.
  2. Select the Branch from the Select Branch panel.
  3. Select the Branch Format from the drop-down list. 
  4. Click on Load Metadata.
How to Load Metadata Using Metadata
  1. Select the Org Credential from the drop-down list. All the metadata of the selected org credential will be loaded.
  2. Click on Load Metadata.


How did we do?