Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: how to identify deleted contacts for outlook add-in for integratio

Geek News

how to identify deleted contacts for outlook add-in for integratio
Ayyappa Das 3/29/2007 5:18:03 AM
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

Re: how to identify deleted contacts for outlook add-in for integratio
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 3/29/2007 6:20:32 AM
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

"Ayyappa Das" <Ayyappa Das[ at ]discussions.microsoft.com> wrote in message
news:9BBB26F3-0818-4689-95EE-69FFA431667B[ at ]microsoft.com...
[Quoted Text]
>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
>


Re: how to identify deleted contacts for outlook add-in for integr
Ayyappa Das 3/29/2007 1:50:01 PM
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..

"Dmitry Streblechenko" wrote:

[Quoted Text]
> 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
>
> "Ayyappa Das" <Ayyappa Das[ at ]discussions.microsoft.com> wrote in message
> news:9BBB26F3-0818-4689-95EE-69FFA431667B[ at ]microsoft.com...
> >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
> >
>
>
>
Re: how to identify deleted contacts for outlook add-in for integr
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 3/29/2007 5:04:02 PM
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

"Ayyappa Das" <AyyappaDas[ at ]discussions.microsoft.com> wrote in message
news:33313342-2B6B-45D4-A92A-65F90149CF65[ at ]microsoft.com...
[Quoted Text]
> 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..
>
> "Dmitry Streblechenko" wrote:
>
>> 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
>>
>> "Ayyappa Das" <Ayyappa Das[ at ]discussions.microsoft.com> wrote in message
>> news:9BBB26F3-0818-4689-95EE-69FFA431667B[ at ]microsoft.com...
>> >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
>> >
>>
>>
>>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net