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 ?


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.