Do NOT try to manually get the list item in code and update a property on it because the optimistic locking mechanism in Share Point may throw an error later on when the operation associated with the event to which you are responding attempts to complete.
Although asynchronous events expose a SPItem Event Properties parameter named properties just like their synchronous counterparts, remember that the operation has already completed so you cannot modify anything in the properties parameter (well, you can, but it doesn’t do anything).
Share Point reads these values from the event parameter and modifies the item accordingly when the actual operation runs (e.g.
the actual Add / Update operation for which the Adding / Updating event is being fired).
But here is the article where I read about this when I was experiencing the same issue. Disable event firing in Share Point when updating a list item outside of an event handler Thanks for the answer. The Set Custodian Permissions was also calling update on the item without disabling the event firing.
I removed the update from the Set Custodian Permissions method and it started working as expected.
I presume this is because the i've called properties. Update(); I do not want the itemupdating event code to run twice. If you put those into a single event receiver, I would expect that it would work the way you want it to. Edit: I cannot seem to find anything about this specifically in any MS documentation.Ok, so inside the Item Updating, you might use the following code: This may seem fine, but if the tested column wasn't filled in it's not part of the After Properties collection, and trying . I have a custom list (not document library) that i have attached 2 event receivers to. My itemupdating event receiver sets a value in a field and my itemupdated sets some permissions on the item.Let me start with “What is an Item Event Receiver”Item Event receivers in Microsoft Share Point 2010 enable your custom code to respond when specific actions occur on a Share Point List Item.Instead of writing more paragraphs I can use tabular to explain, I think this will be easy to understand.