I'm trying to capture the View document "event" of when a user clicks on a document in a document library and it opens up the document in Word or Excel...
There is not such an event receiver and using ItemUpdated or ItemUpdating wouldn't work since those are only triggered when a user edits the properties of that document.
I know there is an audit log which I can access via the object model to get the view count, but the idea is to have a "View Count" column in that document library that displays how many times that document has been viewed or opened. If i use the audit log's view count, I would have to implement some type of timer job that would periodically poll the log and update the "View Count" column.
How do I capture the event when a user opens a document in a document library?