Document events are a perennial problem in SharePoint. This is, in part, due to the way documents are put into SharePoint:
- You upload the document into SharePoint…
- …which fires ItemAdded …
- …then you complete the metadata…
- …which fires item updated.
So, my problem was that our customer wanted an email sent when a document was first ‘added’ to SharePoint – except that by added they meant “Has been uploaded and it’s metadata completed for the first time”. While SharePoint does, technically, fire the correct events at the correct times, it’s pretty easy to see this ‘business event’ is probably more useful. Continue reading “Remote Event Receivers: Identify when a document's metadata is first completed”