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
Pri TaunkPri Taunk 

Hi Is it possible to add a related list for Account or Opp team within a custom object page layout?

If not declaratively, can it be done via apex / SF page?

Priyanka
NagendraNagendra (Salesforce Developers) 
Hi Taunk,

You cannot add those lists to a custom object.
It should be doable through Visualforce and Apex as the AccountTeamMember and OpportunityTeamMember as accessible via the API.

Please let me know if you have any further queries.

Thanks,
Nagendra
Pri TaunkPri Taunk
Thanks, is there any documentation I can refer to regarding this?