3

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 ?

2 Answers 2

3

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
    }
  }
}
0

To get IsPartner and ChannelProgramName, you just need to turn on Communities. From the SOAP Reference:

[IsPartner] field is available if partner relationship management (partner portal) is enabled OR Communities is enabled and you have partner portal licenses.

That can be done in the scratch config.

{
  "orgName": "My Company",
  "edition": "Developer",
  "features": ["Communities"],
  "settings": {
    "orgPreferenceSettings": {
      "networksEnabled": true,
      "s1DesktopEnabled": true
    }
  }
}

Note however that the full Partner Relationship Management feature isn't currently configurable through SFDX or through the Metadata API.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .