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
MattAustinMattAustin 

Can the screen used to "Convert Lead" be changed?

I want to use visual force to modify this screen and add one of my custom fields to it.  is this possible?  I am not sure what controller I need to extend.  Please offer your advise.

Thanks
steve_andersensteve_andersen
I think you would need to create a VF page with a custom controller. The standard controllers are for Objects, while Lead Conversion is really a wizard.

You would need to create the methods for finding possible matches for Account and Contact. Then you could use the LeadConvert method in Apex to actually do the conversion.

I created a lead conversion utility with an S-Control, and I was able to get lots of control over the conversion process. Should be even easier in VF.

Steve
VVRVVR
I've started with developing Visualforce and Apex a few weeks ago. Now my first problem is also how to change the lead convert function. I read a lot of threads, that it is possible to "overwrite" this function, but I don't know how to do this. Do someone have any "examplecode" for me?
travis_aperiotravis_aperio
Did you ever find any examples?
orikkerorikker
could you please share the code?