SharePoint Document Library Monitoring

I was wondering if there is a good way to control the document library in SharePoint for changes (new files added, files changed / marked, files deleted, etc.).

Basically, what System.IO.FileSystemWatcher does in local / network directories.

Are there any events that are fired when documents are uploaded to document libraries?

Perhaps creating a workflow in a document library that runs onCreate / onModify would be better?

Any suggestions are welcome.

+4
source share
1 answer

Take a look at event receivers for lists / document libraries. Synchronous and asynchronous parameters are built into the object model. (ItemAdded, ItemAdding, ItemUpdated, ItemUpdating ... etc.)

The following site should give you a good start: http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?List=f0e16a1a%2D6fa9%2D4130%2Dbcab%2Dbaeb97ccc4ff&ID=69

+10
source

All Articles