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, 2022 in SalesForce by surbhi
• 3,820 points
1,386 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.

Hope this helps!

Check out this Salesforce Training here.

Thanks!

answered Apr 6, 2022 by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz

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, 2022 in SalesForce by surbhi
• 3,820 points
473 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, 2022 in SalesForce by CoolCoder
• 4,420 points
2,451 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, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz 576 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, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz 1,523 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
3,461 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,030 points
1,070 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,030 points
787 views
0 votes
2 answers

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

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

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

edited Dec 22, 2021 by Soumya 749 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, 2022 in SalesForce by CoolCoder
• 4,420 points
7,073 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, 2022 in SalesForce by CoolCoder
• 4,420 points
1,471 views
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