2

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 ?

1

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
    }
  }
}
| improve this answer | |
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.