How do I create a scratch org with Salesforce Platfom licenses

0 votes

I'm creating a fresh scratch org to deploy source code that we've been working on in a sandbox. Our project makes use of the Salesforce platform licence, and our profile definitions are created with it.

I don't obtain the Salesforce platform licence when I build a new Scratch org with the Enterprise edition, hence I can't deploy my source files.

Because my source also has communities activated and the guest user licence in Developer edition is different, I require the Enterprise edition (rather than the Developer version). The 'Guest' licence type is included in Developer edition scratch orgs, as contrast to the 'Guest User Licence' licence type included in my Sandbox and Enterprise versions.

Below is the project-scratch-def.json file I'm using.

{
  "orgName": "Demo Company",
  "edition": "Enterprise",
  "features": [],
  "settings": {
    "orgPreferenceSettings": {
      "networksEnabled": true,
      "offlineDraftsEnabled": true,
      "pathAssistantsEnabled": true,
      "s1DesktopEnabled": true
    }
  }
}
Apr 8, 2022 in SalesForce by surbhi
• 3,820 points

edited Mar 4 23 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP