Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Merging two contacts with ContactRepository.MergeContacts in Sitecore
ContactRepository ContactRepository = Sitecore.Configuration.Factory.CreateObject("tracking/contactRepository", true) as ContactRepository;
// The data will be transferred from the dyingContact to the survivingContact
ContactRepository.MergeContacts(survivingContact, dyingContact)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment