during the dreamforce17 i notice that we can create a copy of our production as a scratch org

{ "orgName": "XXXXXXXXXXx", "edition": "Enterprise", "features": "MultiCurrency;AuthorApex;PersonAccounts", "country": "NL", "language": "en-EN", "sourceOrg": "XXXXXXXXXXXXX", "orgPreferences": { "enabled": ["S1DesktopEnabled"] } }

but when i try it i get this error :

ERROR: No such column 'SourceOrg' on sobject of type ScratchOrgInfo.

Has somebody an idea?


3 Answers 3


Assuming that JSON you provided is a scratch org definition file, you cannot specify "sourceOrg" property. Properties available are:

  1. orgName
  2. country
  3. username
  4. adminEmail
  5. edition
  6. description
  7. hasSampleData
  8. language
  9. features
  10. orgPreferences

Values of these are specified here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm


It is currently in Pilot and only available for people taking part in the pilot program answred here


You should check "Enable Org Shape for Scratch Orgs" toggle to true in both Source and Dev Hub orgs and provide Dev Hub org's Id in Org Shape setup in source org

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .