How do I create a scratch org with Salesforce Platfom licenses

0 votes
I'm creating a new scratch organisation in order to deploy source code that we worked on in a sandbox. Our product makes use of a Salesforce platform licence, which we employ to create our profile definitions.

I cannot deploy my source files since I do not receive the Salesforce platform licence when I establish a new Scratch org using the Enterprise edition.

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

Below is the project-scratch-def.json file that I'm using.
Apr 5 in SalesForce by surbhi
• 3,810 points
58 views

1 answer to this question.

0 votes

Answer from Salesforce support was to include the ForceComPlatform value in the Features array.

Something like

{
  "orgName": "Demo Company",
  "edition": "Enterprise",
  "features": ["ForceComPlatform"],
  "settings": {
    "orgPreferenceSettings": {
      "networksEnabled": true,
      "offlineDraftsEnabled": true,
      "pathAssistantsEnabled": true,
      "s1DesktopEnabled": true
    }
  }
}

This created a scratch org for me with 1 Salesforce Platform license.

answered Apr 6 by CoolCoder
• 4,360 points

Related Questions In SalesForce

0 votes
0 answers

Can i create a sql table populated with Salesforce objects?

does Salesforce offer a way to obtain ...READ MORE

Mar 4 in SalesForce by surbhi
• 3,810 points
43 views
0 votes
1 answer

How can i use select * in SOQL query in Salesforce?

SOQL is not the same as SQL. ...READ MORE

answered Mar 3 in SalesForce by CoolCoder
• 4,360 points
117 views
0 votes
1 answer

How can we create salesforce developer account for salesforce essentials?

Developer.salesforce.com is where you can sign up ...READ MORE

answered Mar 3 in SalesForce by CoolCoder
• 4,360 points
64 views
0 votes
1 answer

How to log into a salesforce.com sandbox?

My user account was created after the ...READ MORE

answered Mar 15 in SalesForce by CoolCoder
• 4,360 points
26 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
1,835 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,010 points
289 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,010 points
174 views
0 votes
1 answer

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Training that covers all ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 204 views
0 votes
1 answer

How do i get all values from a global pick list in salesforce using REST Api?

Since API 39.0 it is possible to ...READ MORE

answered Mar 17 in SalesForce by CoolCoder
• 4,360 points
311 views
0 votes
1 answer

how to create a custom login page in salesforce.com?

Here are a few things to consider: Is ...READ MORE

answered Apr 6 in SalesForce by CoolCoder
• 4,360 points
78 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP