function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JVIowaJVIowa 

AccountTeamMember - Managed Package

Does anyone know what happens if you try to install a manage package that references AccountTeamMember in an org that has Account Teams disabled?  I noticed that if you disable account teams the object disappears from the metadata. By default Account Teams is disabled.  I would guess that when you upload you can require the Account Teams feature.  I would rather not force people to turn this on if they aren't going to use it as it is an optional feature with my package.  I guess the only other way around this would be dynamic SOQL when trying to discover Account Team Members for an account.  Any other thoughts?