Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 18 Apr 2008 14:15:06 -0700 (PDT),    group: microsoft.public.exchange.development        back       


Change Fields in OnSave store event   
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: Fri, 18 Apr 2008 14:15:06 -0700 (PDT)   author:   Marco

Re: Change Fields in OnSave store event   
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: Sat, 19 Apr 2008 17:16:32 +0200   author:   Henning Krause [MVP - Exchange]

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]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us