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
ElkeElke 

Possible to override Button „Add“ for Account Team Members

Hi everybody,

 

Is it possible to override the standard button for adding new Account Team Members in the related list of an Account with a Visualforce page?

We want to restrict adding Account Team Members (not more than 5 members per account, not more than one Account Manager…and so on). Since we cannot use a trigger for Account Team we are thinking about controlling this by a VF page.

Any better idea would also be highly appreciated..

Thanks,

Elke

IspitaIspita

Another option of your problem could be having a custom VF widget which mimics the related list, but is not the standard related list, in that you can add a custom button of your choice and implemenent login as per your specific business scenario.

 

Hope this helps