views:

20

answers:

1

Hi all

I have a question about the synchrounous event receivers in Sharepoint 2007.

As example, lets look at the event ItemUpdating: Is it safe to assume that the update operation will succeed if I don't cancel it manually? I know the event could be cancelled by another event receiver. But assume that there is no other event receiver and that SP will act normally (no full DB or any other exceptional issues..)

I am asking because I want to perform some actions that makes only sense if the event was successful. However because the asynchrounous "event properties" lack a lot of information, I have to use the synchrounous events instead.

Thanks for feedback

A: 

Sounds like you want to use ItemUpdated instead of ItemUpdating. That way, you know the event was successfull and you can perform your actions. Otherwise, I think ItemUpdating works pretty well. Is there a reason you are worried?

Kit Menke