1

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?

1

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

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.