[SalesForce] SFDX scratch org definition

Account.ChannelProgramLevelName: Could not resolve standard field's name.,Account.ChannelProgramName: Could not resolve standard field's name.,Account.IsPartner: Could not resolve standard field's name

What is the scratch org definition for Account.IsPartner ? Like what feature or settings I need to add for this in scratch-def.json file ?

Best Answer

As of v48 (Spring 2020), you can enable PRM functionality by adding a scratch org like below. Documentation:

Here and Here

{
  "orgName": "My Company",
  "edition": "Developer",
  "features": ["Communities", "EnablePRM"],
  "settings": {
    "orgPreferenceSettings": {
      "networksEnabled": true,
      "s1DesktopEnabled": true
    },
    "communitiesSettings": {
        "enableNetworksEnabled": true,
        "enableEnablePRM": true
    }
  }
}
Related Topic