Duplicate contacts in OCS db

This refers to TAR 3545260.996, BUG 3373199. I'm experiencing 3 sets of identical contacts when I search via CAPI:
CSDKCondition cond = {"N",CSDK_OP_STARTSWITH,"S"}; (Name starts with "S")
The duplications seemingly happened during major release upgrades and then subsequent migration of data.
Since Outlook seems to correctly ignore the duplicates, I'm wondering how Outlook knows which ones to display and which to ignore - maybe based on UID? Knowing this would give me a clue on which contacts to delete so I can proceed with a synchronization pathway to LDAP.

I think this was due to system upgrades where contacts were duplicated and one set was moved to the trash during the upgrade.
Contacts visible with CSDK_FetchContactsByQuery() may appear in the 'Deleted Items' though the vcards exported by the function make no reference to the folder location and I'd assumed everything exported would be visible in the 'Contacts' folder.
More later when I do some more research.
-Reed

Similar Messages

  • Need help to acheive Duplicate Contacts detector

    Hi All,
    I need to develop a feature in which my app would detect all the duplicate contacts of the user. A user can have many contacts. App shall find all his contacts which match on the basis of email, name and mobile number.
    I am quite confused as what can be the logic here? Where should I do this work? Should I do it in a stored procedure or will something work in Java. I am using Hibernate as the ORM tool. Can I use some of the features of hibernate for this problem?
    If I go by simple algorithm then I would probably have to make n database requests where n is the number of contacts.
    Any help will be highly appreciated.
    Regards,
    Nitin

    You can certainly do it in a stored proc.
    Unless you are going to do it a lot then it doesn't matter.
    Although "many" might come into play there. 10 is nothing. 100,000 is.

  • I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please researc

    I currently use an iPhone, an iPad, and a Mac computer for business.  The three devices have Contacts Managers that sync with each other through both Google and through Mobile Me.  Currently, this has created a mess of duplicate contacts.  Please advise me on the steps necessary for removing these duplicates and establishing a syncing solution that doesn't regenerate the duplicates.  There are several applications available that remove duplicates, but I am not sure which ones work or don't work.  I want information on this, but most importantly I want to understand how to fix this problem permanently.  Also, I read somewhere that Mac's new operating system, Lion, can help deal with duplicates.  I don't have Lion, but I would be willing to get it, if this would fix the problem.

    Had the same problem with 4 devices (two computers, an iPhone and an iPod). The solution is simple: open the Address Book application in your mac, ask it to locate duplicate entries (under one of the top menu items, "edit" I think), and then ask it to consolidate them: it took me all of three seconds after I figured it out: worked like a charm! PS: if you have more than one mac with unconected Address Books, repeating the operation in the second one may be a good idea.
    Message was edited by: mfduran

  • Report to show duplicate contacts

    We have duplicate contacts in CRMOD. Is there a way to create a report that will show me all of the duplicates?
    Thanks,
    Sharon

    Create a Report with following fields:-
    Contact Full Name, Temp Column.
    Edit the Temp column Formula and add COUNT(Contact."Contact Name" BY Contact."Contact Name"). On the Temp column add the filter is greater than 1.
    Thanks
    Raghu

  • I have amny duplicate contact numbers under various names , coz when i syncronised my i phone with facebook this happened , now i want to identify them and delete  them kindly help how i can save my time

    i was using blackberry earlier and when i syncronized it with facebook and gmail it added many contacts to my phonebook leading to duplication , now i have got all thoes contacts transfered to my i phone and even downloaded appliciation to delete duplicates in i phone though it is paid application but of no use as it has not recognised the duplicate contact numbers in phonebook but it recognise only exact duplicates kindly help me how i can delete duplicate contact numbers with diffrent names

    Just go ahead and go to settings>Facebook> Contacts OFF and do the same with Gmail. THe contacts related to those acct will dissapear. Then when you sync again with Gmail be carefull BCS IT SAYS IF YOU WANT TO JUST ADD THE CONTACTS OR MERGE THEM!!!!

  • How can I add duplicate contacts on my iPhone

    I know that the majority of related Qs on here are about deleting duplicated contacts; and yes that can be a pain, but I want to go the other way.
    After I have spent ages filling in all the contact ino for someone [workwise etc], I often need to have another person from that same organisation. OK, so the name and SOME info is different, but at least 50% is relkative.
    Can I duplicate the original entry and then amend the copy to get the new contact without just entering the WHOLE thing again ?

    Thank you randers4 for answer above. I highly recommend using the info. in the two apple links below:
    Archive or make copies of your iCloud data - Apple Support  and
    If you see duplicate contacts after setting up iCloud Contacts - Apple Support

  • How can I delete duplicate contacts on my Iphone?

    I am using outlook and syncing contacts with my I phone.  A number of contacts have come up duplicated onmy I phone.
    How can I delete a contact or re-sync to eliminate duplicates ?

    Thank you randers4 for answer above. I highly recommend using the info. in the two apple links below:
    Archive or make copies of your iCloud data - Apple Support  and
    If you see duplicate contacts after setting up iCloud Contacts - Apple Support

  • How to Delete duplicate contacts in the messaging app?

    I set up a new email account, and was trying to send my contacts to the new account. In doing so I did not get the contacts to sync with the new account, but they did duplicate in my contacts app and my messaging contacts app. I can not find a means to delete the duplicate contacts in the messaging app. I stopped by Verizon at Best Buy, and they told me that there is no way to delete the contacts once they are in the messaging app. I can't believe that.
    There must be a way to remove the contacts from the messaging app. Please help.

    Hi Tidbits,
    I ended up going to Best Buy, where I got my LG G3 Verizon phone. The Tech tried everything to correct the duplication, but could not find how to do it. He deleted everything, and went back to factory settings. Darn if the duplicates didn't come back.
    He went to my Verizon account, and went to the Verizon Cloud. Clicked on Contacts, and there were all the duplicate contacts. He deleted the duplications, leaving the original for each contact. BINGO the problem was solved.
    I am using the Standard Messaging instead of Verizon messaging Plus. The Tech said that if I had been using Using Verizon Messaging Plus this may not of happened. I just down want the added cost of Messaging Plus.
    Thanks for the response.

  • How to delete duplicate contacts in icloud

    How do you delete duplicate contacts in iCloud so that they will not appear on all of my devices (iPhone, iPad, MacBook)?

    Hey mzhill78
    Remove you icloud contact information on all your IOS devices, go to the icloud setting on you ios device and turn off the addressbook syncing, when it asks you "do you want to remove keep the address on your ips device you say NO...  So now your MacBook is the only thing syncing too the icloud.
    Go to Addresbook and look for the menu option find duplicates.
    After that wait for your laptop to sync this too icloud.  to check give it about 2 min depending on how many changes log into your icloud account at www.icloud.com and check too see if the syncing has updated whats in the cloud.
    If it has then urn on your addressbook syncing in iclouud settings on your IOS devices and all should be back too normal.
    Hope it helps,
    If this has sloved your problem please mark it as Solved thank you..

  • Deleted duplicate contacts from icloud and want to sync updated contacts to iphone and ipad?

    Can anyone help with this?
    Deleted duplicate contacts from icloud and want to sync updated contacts to iphone and ipad?  Did it on icloud cause have duplicates on ipad and iphone also

    Check icloud.com to be sure you contact list is correct there.  If it is, just go to Settings>iCloud on your device and turn Contacts to On to sync the contacts to your device.  If contacts are already set to On and you still see duplicates, you may be viewing a duplicate contact group in addition to the iCloud contacts.  Open Contacts, tap Groups, then tap any groups other than iCloud to uncheck them, then tap Done.  See if the duplicates are still there.

  • How do I get rid of the duplicate contacts on my iPhone?

    I just transferred my 3Gs apps and data to my new iphone5.  The contacts are now duplicated (a few times each) and are not identical.  I am using OS X version 10.8.2 with itunes and icloud.
    Any ideas how to merge or remove the unwanted contacts?  What causes this duplication?
    Any input would be appreciated!

    Duplicate contacts is usually caused by user error due to syncing between iTunes and iCloud simultaneously.  Turn off sync between either iCloud or iTunes and the duplicates should be removed.

  • Duplicate Contact/Address Book entries on iPhone

    why do I have duplicate contact and address books entries on my iPhone? I never had this problem until I upgraded to iCloud. I have an iPhone 4 and it is upgraded to the current OS.

    If you are using Outlook 2011, make sure you have the latest service pack and update.
    Make sure your Mac Book and all devices have the latest update.
    If the Calendar on the Mac Book is correct go to step 3
    Assuming Mac Book Calendar is correct, remove accounts from iPhone, iPad.
    Reconnect account to iPhone, iPad account.
    All calendars should now be in sync.
    There are times when the Mail, Calendar, Contact application has been corrupted (Outlook 2011, Mac Mail, Entourage, etc).  This will cause all kinda of issues on your devices.  You have to repair the mail client first.  In the case of Outlook you can delete the profile and recreate it.  In Mac Mail you can rebuild (from Tools on the menu bar)

  • I updated to Lion OS10.7.5 and I have duplicate contacts that will not merge.  How do I fix this?

    I updated to Lion OS10.7.5 and I have duplicate contacts that will not merge. The duplicates were created when I synced my phone (which I have done a hundred times!) How do I fix this?

    Try the 10.7.5 supplemental update.
    http://support.apple.com/kb/DL1599

  • Fix duplicate contacts problem with iOs 5

    Have duplicate contacts on iPhone and iPad...sometimes multiple duplicates of same contacts.
    Contact in iCloud Sync is turned off.
    Contacts managed through Exchange.
    Have deleted and re-added Exchange account multiple times. Fixes the problem temporarily.
    What's the permanent fix?

    Apparently not: https://discussions.apple.com/thread/3643364

  • TS4147 Syncing contacts only through iCloud with Outlook 2007 and iPhone & iPad I have duplicate contacts only on the iPhone & iPad.  If I remove one of the duplicates the other one is also removed.  A solution would be appreciated.

    Please tell me how to elimante duplicate contacts on my iPhone & iPad.  I am syncing Outlook 2007 contacts through iCloud (NOT iTunes).  There are no duplicates in Outlook, nor in iCloud, but there are duplicates on the iPhone & iPad.  If I remove one of the duplicates the other duplicate disappears.  Thank you.

    Go to contacts on your phone/ipad, click groups, make sure that the only checked contacts are icloud. That shoud do.
    http://www.youtube.com/watch?v=1UjL9U66G3o

Maybe you are looking for