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

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
 
D

Dmitry Streblechenko

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
 
G

Guest

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..
 
D

Dmitry Streblechenko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top