|
|
|
date: Fri, 18 Apr 2008 14:15:06 -0700 (PDT),
group: microsoft.public.exchange.development
back
Re: Change Fields in OnSave store event
Thanks! Is there somewhere a sample?
Regards
Marco
On 19 apr, 17:16, "Henning Krause [MVP - Exchange]"
wrote:
> Hi Marco,
>
> Short answer: No.
> Long answer: Not during the OnSave sink, as all fields have already been
> commited to the store. You can, however, access the old record from the
> begin phase of the OnSyncSave task.
>
> Due to the design of the Jet database you can't iterate over all fields of
> the item - you can only enumerate over a subset of the fields. But you can
> query all properties, so you need a list of properties to check.
>
> To open the original item, use the SourceURL property of the
> IExStoreDispEventInfo interface.
>
> Kind regards,
> Henning Krause
>
> "Marco" wrote in message
>
> news:cd6b9f1b-5dcd-41b8-acef-004962078f91@s50g2000hsb.googlegroups.com...
>
> > Hello
>
> > Is it possible to get a list of the changed fields and it's values
> > when you catch the changed item in an OnSave event?
>
> > Thanks
> > Marco
date: Mon, 21 Apr 2008 14:11:40 -0700 (PDT)
author: Marco
Re: Change Fields in OnSave store event
Hi Marco,
not that I know of.
But if you take a look at my infinitec.exchange layer you will find a file
called wellknownproperties.cs containing the properties covering most of the
outlook object model. You can iterate over those properties.
Kind regards,
Henning
"Marco" wrote in message
news:cb48609a-3618-44f5-8cb1-29f5f8073440@b1g2000hsg.googlegroups.com...
> Thanks! Is there somewhere a sample?
>
> Regards
> Marco
>
> On 19 apr, 17:16, "Henning Krause [MVP - Exchange]"
> wrote:
>> Hi Marco,
>>
>> Short answer: No.
>> Long answer: Not during the OnSave sink, as all fields have already been
>> commited to the store. You can, however, access the old record from the
>> begin phase of the OnSyncSave task.
>>
>> Due to the design of the Jet database you can't iterate over all fields
>> of
>> the item - you can only enumerate over a subset of the fields. But you
>> can
>> query all properties, so you need a list of properties to check.
>>
>> To open the original item, use the SourceURL property of the
>> IExStoreDispEventInfo interface.
>>
>> Kind regards,
>> Henning Krause
>>
>> "Marco" wrote in message
>>
>> news:cd6b9f1b-5dcd-41b8-acef-004962078f91@s50g2000hsb.googlegroups.com...
>>
>> > Hello
>>
>> > Is it possible to get a list of the changed fields and it's values
>> > when you catch the changed item in an OnSave event?
>>
>> > Thanks
>> > Marco
>
date: Mon, 21 Apr 2008 23:22:32 +0200
author: Henning Krause [MVP - Exchange]
|
|