Hi all,

I developed an event handler that updates some metadata for the items
that launched the events.
I suspect WSS to generate new events when I update the metadata from
my event handler, and so to instantiate recursively my event handler.
Is there anybody who could confirm it ? If so, do you have an idea on
how to prevent such behaviour ?
Thanks in advance !!
Stephane Baudet

Re: recursive event handlers by Mike

Mike
Fri Feb 25 10:10:13 CST 2005

This looks very much like a WSS programming question and if so the newish
subnewsgroup microsoft.public.sharepoint.windowsservices.development would
be the place for it.

(It - as you'll see - specializes in WSS programming issues leaving the
non-programming stuff here in the main newsgroup.)

Mike Walsh, Helsinki, Finland
WSS FAQ at http://wss.collutions.com
Please reply to the newsgroup

"Stephane Baudet" <bodzebod@hotmail.com> wrote in message
news:1526cbac.0502250742.1449ed57@posting.google.com...
> Hi all,
>
> I developed an event handler that updates some metadata for the items
> that launched the events.
> I suspect WSS to generate new events when I update the metadata from
> my event handler, and so to instantiate recursively my event handler.
> Is there anybody who could confirm it ? If so, do you have an idea on
> how to prevent such behaviour ?
> Thanks in advance !!
> Stephane Baudet



RE: recursive event handlers by DaveBone

DaveBone
Fri Feb 25 12:41:04 CST 2005

Hi,

Not an expert on this.

Event handlers do not raise events so they are not recursive.

Event handler A copies data from site A to site B when data is saved to A.

Event handler C saves data to A from C.

C fires but will not raise a save event on A.

Dave

"Stephane Baudet" wrote:

> Hi all,
>
> I developed an event handler that updates some metadata for the items
> that launched the events.
> I suspect WSS to generate new events when I update the metadata from
> my event handler, and so to instantiate recursively my event handler.
> Is there anybody who could confirm it ? If so, do you have an idea on
> how to prevent such behaviour ?
> Thanks in advance !!
> Stephane Baudet
>