how to identify deleted contacts for outlook add-in for integratio

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on integration of outlook contacts with a third party
application. It needs to identify contacts that are deleted and delete it
from the third party application.
Is there anyway we can identify permanently deleted contacts from outlook?

Thanks,
Ayyappa
 
Unless you are using Extended MAPI in online Exchange mode (where you can
use the ICS API), your only option is to retrieve the list of all existing
contacts in a folder and compare it with a list stored when you performed
the sync last time.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanks a lot for taking the time to reply.

One other idea we were trying to implement for this:- Everytime a contact is
deleted, add this deleted contact to a temporary storage (file?) and use this
in the synchronization. From your experience, is this too cumbersome to do?
Any pointers will be a great help..
 
The problem is getting a reliable event when a contact is deleted.
Your code must be running at the time of the deletion and the user shouldn't
be deleting more than 16 items at a time and the contact should not be be
the last item in the folder. Too many ifs.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top