Skip to content

Missing Sales Team

Detection

Examples

  • Error Account-Account Layout Invalid field:TEAM.MEMBER in related list:RelatedAccountSalesTeam

Resolution

Account Teams must be activated in the target org.
- Turn it on from git: commit force-app/main/default/settings/Account.settings-meta.xml with <enableAccountTeams>true</enableAccountTeams> (retrieve it with the Metadata Retriever of VS Code), and deploy it in a Pull Request merged before this one
- Or in Setup -> Account Teams -> Enable
- Scratch org setting:
"accountSettings": {
  "enableAccountTeams": true
}

Comments