As title says, I need an event to fire when a listitems file has been edited.

I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating event. Unfortunately, I can't find the relevant fields needed to monitor a change in the file belonging to the list item. I can monitor versions - and I'm pretty sure I have a good grip on how to monitor whether the event was fired because the document was being published or not - but this doesn't cater for simply just editing the file.

1 Answer 1


What you are looking for is the SPItemEventReceiver BeforeProperties and AfterProperties.

You have 6 event receivers to choose from:

  • ItemAdding
  • ItemAdded
  • ItemUpdating
  • ItemUpdated
  • ItemDeleting
  • ItemDeleted

Look at this article here to explain it further. http://www.synergyonline.com/Blog/Lists/Posts/Post.aspx?ID=122

  • Thanks Mike, like I said in my OP though - I'm well into utilising these different event receivers, my question is how do I tell if the event was fired because the item's file was edited? Commented Dec 11, 2012 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.