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
Willis RayWillis Ray 

I am relatively new to SalesForce development. I have created a custom VisualForce page to replace the standard Lead page. I would like to put the standard Lead Convert button on this VisualForce page. Is this possible? If not, how do I get convert button

I do not need to do anything special. I have my lead custom fields mapped to the appropriate locations. I need basically the same functionality of the standard convert. 
Vijay Gopi 11Vijay Gopi 11
Hello Willis Ray,

This might help you: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dml_convertLead.htm

Thanks, 
Vijay.
Willis RayWillis Ray
Hi, Thanks, I have seen this page. I guess I need an example of how to integrate this into my VisualForce page as a button. I am rather new when it comes to SalesForce development. Thanks, Willlis