I'm trying to automate our development process by using scratch orgs and pushing the converted metadata into them.
I have an existing codebase already, my production org was created in March 2015 and currently has the following license types:
- Force.com - App subscription
- Salesforce
- Chatter free
- Chatter External
A brand new scratch org, created with the "ForceComPlatform" feature in its config, has the following license types:
- Salesforce
- High Volume Customer portal
- Chatter Free
- Chatter External
- Company Communities
- Salesforce Platform
When I push the metadata extracted from our prod org into the scratch, it fails to create the profiles since some of them are assigned to the "Force.com - App Subscription" license.
A quick and dirty (and wrong) way to "fix" this would be to replace the Force.com kind of licenses for the "Salesforce Platform" ones, but i'm not sure about how different they are and I want to use a scratch as similar to my production and sandbox orgs as possible.
My scratch definition file for reference:
"orgName": "myOrg",
"edition": "Enterprise",
"language": "es_CL",
"features": [
"MultiCurrency",
"AuthorApex",
"ServiceCloud",
"PersonAccounts",
"ForceComPlatform"
],
"orgPreferences" : {
"enabled": [
"AnalyticsSharingEnable",
"ChatterEnabled",
"DisableParallelApexTesting",
"EnhancedEmailEnabled",
"OfflineDraftsEnabled",
"S1EncryptedStoragePref2",
"S1OfflinePref",
"SelfSetPasswordInApi"
]
}