Solved

How to track document views on WSS / MOSS (Sharepoint)

Posted on 2010-09-03
8
771 Views
Last Modified: 2012-06-21
Does anyone know any method at all of tracking when any user 'touches' a document in Sharepoint?  I am open to just about anything - exposed methods / event triggers on the base WSS classes, post-back handlers on host pages, workflows, etc.

Scenario is we receive a bunch of recurring reports each night.  I have middleware written to in-process, tag up, and upload these reports into various SP libraries.  Once the reports are present online in SP they may or may not be viewed a variety of end users, and I would like to be able to log every view.  

The IIS logs on the front end WSS server can be cranked up to the level that they track each document access, but I'm looking for something that can be used within Sharepoint at itself - an entry in a library History list would be ideal.

Anyone point me in the right direction on this?
0
Comment
Question by:NerdAtLarge403
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 12

Expert Comment

by:geowrian
ID: 33602105
Are audit log settings insufficient for your needs? You can enable audit log settings under the site collection's "Site collection audit settings" link. Choose "Opening or downloading documents, viewing items in lists, or viewing item properties". Then you can run the report (or have Excel or an XML parser do it on a schedule) to see all content that was viewed. Does that work for you?
0
 
LVL 2

Author Comment

by:NerdAtLarge403
ID: 33602118
Is this "Site Collection Audit Settings" link you mention exist on the client-side or Central Administration?  I find it nowhere and so suspect that you refer to an MOSS only feature.  My task requires a solution that will work at both the WSS and MOSS level, therefore the lowest common denominator is WSS and my solution must be specific to that speices of the platform.
0
 
LVL 12

Expert Comment

by:geowrian
ID: 33602130
It is in the site collection's administration section of the site collection. Just go to the root site in the site collection, choose Site Actions -> Site Settings -> Modify All Site Settings. It will be listed under "Site Collection Administration."
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 12

Expert Comment

by:geowrian
ID: 33602133
Nevermind - that does appear to be a MOSS feature. I checked another implementation here that only has WSS and it didn't have that option.
0
 
LVL 12

Accepted Solution

by:
geowrian earned 500 total points
ID: 33602135
Did you check this out? This is for WSS and is implemented via code:
http://msdn.microsoft.com/en-us/library/bb418730.aspx
0
 
LVL 2

Author Comment

by:NerdAtLarge403
ID: 33602138
Fair enough, geowrian.  Thanks for the attempt.  Partial points awarded for clarifying that point, but my question stands for full solution.
0
 
LVL 2

Author Comment

by:NerdAtLarge403
ID: 33602148
This newer possibility for programatically instantiating audit which you have posted a link to looks promising, although I suspect I may get stuck not having an interface to access the resulting audit data via client side webparts and may have to custom build one.  This possiblity will take a while to investigate; findings will be posted in a day or two, but for now it's goodnight after a 17 hour day. :)

Thanks Geowrian.
0
 
LVL 12

Expert Comment

by:geowrian
ID: 33602150
Sounds good to me. I wish you luck and look forward to hearing your findings. Have a great weekend - long week for us both it seems.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question