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
RetreeverRetreever 

Can you create an Account / Contact record using details from a Custom Object record?

I am working on a Salesforce implementaion for a NonProfit , they operate a Community based Loan Fund. Part of their work is providing training programs. I have built out custom objects to faciliate this and they are happy with that however one of the objects is an individual registration record ( see attached screen cap) - they are asking if it's possible to add something like the "Convert" button found on the standard Lead object to create an Account/Contact record from the detail on this custom object.
I believe this should be possible but have no idea of what would be required. Would anyone have any suggestions or sample coding of how this would be done?

Thanks in Advance
RogerUser-added image
Dhanya NDhanya N
Hi Retreever,

You would need to use a detail page button and link visualforce page and custom controller to accomplish this.

Thanks,
Dhanya
Roger Bannister 37Roger Bannister 37
Thanks Dhanya, I don't suppose you know of any coding examples available for this kind of need?

Roger