DX User Story Operation

Updated 3 months ago by Ferhat

Commit History

You can easily check latest 10 commit that are related to the selected user story.


Create Scratch Org

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

In order to know more about Scratch Org Definition go to Scratch Org Definition Details article.

How to create Scratch Org by using existing Org Definition Template

  • Select the Org Definition Template from drop down list. All options will be populated automatically. 
  • Fill in Org Name input.
  • Click on Create Scratch Org button.

How to create Scratch Org by defining the Org Definition Template manually

  • Fill in Org Name input.
  • Select the Country from drop down list to set the locale of scratch org.
  • Select the Language from the drop down list to set language for the scratch org.
  • Specify the Features that you want to enable for the scratch org.
  • Specify the Org Preference Types that you want to enable or disable for the scratch org.
  • Check the Include Sample Data to create scratch org with sample data.
  • If you want to save and use the template in the future, Fill in Org Definition Template Name and Click on Save as Template button.
  • Click on Create Scratch Org button.


Extensions

Configure your scratch org beyond definition file. Load Data, Metadata and all other operations that Copado Deployment offers.

In order to know more about creating deployment go to Creating a deployment article.

In order to know more about deployment step go to Deployment Steps article.


Load Metadata 

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

In order to know more about metadata source options go to Metadata Source Options article.

How to load metadata by using Git Artifact:

  • Select the Project Template from drop down list. It will populate Org Credentials which are related to selected Project Template and have artifacts.
  • Select the Org Credential from drop down list. It will populate Artifacts.
  • Select one or more Artifacts from multi select list. Metadata of the selected artifacts will be loaded in Preview Artifact Metadata.
  • Click on Load Metadata button.

How to load metadata by using Package Artifact:

  • Select the Project Template from drop down list. It will populate Org Credentials which are related to selected Project Template and have artifacts.
  • Select the Org Credential from drop down list. It will populate Artifacts.
  • Select one or more Artifacts from multi select list. Metadata of the selected artifacts will be loaded.
  • Click on Load Metadata button.

How to load metadata by using Patch & Release:

  • Select the Release by using lookup icon. Tags will be loaded.
  • Select the Tag from Select Tag panel.
  • Select the Tag Format from drop down list. 
  • Click on Load Metadata button.

How to load metadata by using Branch:

  • Select the Repository by using lookup icon. Branches will be loaded.
  • Select the Branch from Select Branch panel.
  • Select the Branch Format from drop down list. 
  • Click on Load Metadata button.

How to load metadata by using Metadata:

  • Select the Org Credential from drop down list. All metadata of selected org credential will be loaded.
  • Click on Load Metadata button.

How did we do?