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
Don Schueler 6Don Schueler 6 

invoke new contact with record type dialog

I have a VF Search Page and associated controller that searches for existing contacts. If the contact isn't found the user can create a new one. I can do this but it takes the default record type. I want this button on the VF page to first bring up the dialog for choosing record type as it does from the Lightning NEW buttons. I would like this to work in Classic and Lightning but if its Lightning only thats ok too.