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
Sunny MohlaSunny Mohla 

Custom Account Merge

Hi,

I need to create a VF Page which displays accounts in a similar way as displayed at the time of Account merge like Account field and radiobutton infront of it.

What i need to do is to create custom Account Merge functionality with 3-4 Accounts displayed in a similar way. Has anyone attempted such scenario or can give me a headway.

Regards
PratikPratik (Salesforce Developers) 
Hi Sunny,

If you want to merge 3 accounts ata a time, this is possible through out of box Merge wizard.

To find the accounts, you can use the dynamic search to identify the duplicate account based on your parameters.
Refer this for dynamic search(twaek it as per your requirement):
http://blog.jeffdouglas.com/2010/07/13/building-a-dynamic-search-page-in-visualforce/

To Merge Account you can use the button/link which will navigate you to standard Merge wizard.

/merge/accmergewizard.jsp?srch={!Account.Name}
Again tweak this as per your requirement.

You can refer to above gudeline to get started.

Thanks,
Pratik