+ Start a Discussion
shankoshanko 

Adding customized buttons to Lead Detail using Apex

Is there any programmatic way to add customized buttons to the standard Lead detail page using Apex?

 

I can do it manually (Setup > Customize > Leads > Buttons & Links and then ... Leads > Page Layouts). But that makes it inconvenient if I want to package my code as an AppExchange app.

 

Any hints will be highly appreciated.

 

Thanks,

- Shashank