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
ishwarya ishuishwarya ishu 

Custom Visulaforce page to override standard lead convert page

I need a custom VF page.
when Convert button is clicked in Lead page, the new custom page should be redirected and that page should have convert button.
when clicking that button, it should be converted into Account,Contact and Opportunities.
Umesha BP 21Umesha BP 21
@ ishwaryaLead object is standard or custom object?
ishwarya ishuishwarya ishu
Standard Object
Umesha BP 21Umesha BP 21
Create Apex Class to create Account contact and opportunity then create Button call this class using javascript.
ishwarya ishuishwarya ishu
Hi Umesha,

Can u just provide me a sample code for this? I searched all links but still, I didn't get any ideas.
Neha AggrawalNeha Aggrawal
Hi,

If you are still looking for a solution, I have explored it in this post: https://initaura.com/override-standard-lead-conversion-in-salesforce/


Hope that helps.
Thanks and Regards, 
Neha Aggrawal
www.initaura.com - Everything Salesforce (https://www.initaura.com) (https://www.initaura.com)