I need to detect when a user opens a document in a specified list, and log their view in another list, however I see no method in SPItemEventReceiver for detecting such an event:


Am I looking in the wrong place, or does this functionality not exist?


  • I guess if it doesn't, one workaround would be to write a user control and add it to the view page. When the view page is hit, I can record the hit... Mar 17, 2011 at 23:00

1 Answer 1


A user control is not going to track a document being opened. You may want to have a look at SharePoint's internal auditing facility to track if a document has been opened, then create a job to periodically process new 'open' events.

As you say, there is no 'open event handler' in SharePoint, which is a great shame.


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.