Sharepoint Library Item view -Item Count and Who viewed the Item

14,854

Solution 1

You can set up item level auditing. Instructions can be found here. And if you want to retrieve audit data in code you can use SPAudit.GetEntries

Solution 2

You can get the usage report through WSS_Logging database, check this link for more information or http://www.codeproject.com/Articles/70865/SharePoint-2010-Logging-Database

Hope this helps.

Share:
14,854
SPKan
Author by

SPKan

Updated on June 05, 2022

Comments

  • SPKan
    SPKan almost 2 years

    How to check when a library item is viewed in a SharePoint library? We cant use Event Receivers as it contains the events Item Added,Item Updated and Deleted Events. In the case of viewing a document how can we track who viewed the page/How many times.I am using SharePoint 2010 development environment.

    Thanks in Advance!

  • SPKan
    SPKan over 10 years
    Thank you for the answer. As I found if the site has more than 1000 users it has limitations. So i thought of developing some custom action for this.
  • SPKan
    SPKan over 10 years
    Thanks Ram for your answer. This is the first time I heard about this. I will check the Database and confirm wether i can get the required columns. Thanks again.
  • SPKan
    SPKan over 10 years
    @ Ram Checked the logging database but there is no information on List Views. Feels like when a document gets checked out it adds a entry not when it is viewed.