Newer Version Available
Create a Salesforce DX Project from Existing Source
If you are already a Salesforce developer or ISV, you likely have existing source in a
managed package in your packaging org or some application source in your sandbox or production
org. Before you begin using Salesforce DX, retrieve the existing source and convert it to the
source format.
- Create a Salesforce DX project.
-
Create a directory for the metadata retrieve. You can create this directory anywhere.
1mkdir mdapipkg -
Retrieve your metadata source.
Format of Current Source How to Retrieve Your Source for Conversion You are a partner who has your source already defined as a managed package in your packaging org. Retrieve Source from an Existing Managed Package You have a package.xml file that defines your unpackaged source. Retrieve Unpackaged Source Defined in a package.xml File