问题
Is there any way to capture document download or item view actions in SharePoint 2010/2007?
Thanks.
回答1:
I had a similar requirement in that I had to send an email when a document was downloaded. In WSS 3.0, I wrote an Http Module that looked at the request url and if the prefix of the request matched my document library URL, I captured that download/view.
回答2:
Go to Site Settings > Site Collection Administration > Site collection audit settings. Under Documents and Items, check Opening or downloading documents, viewing items in lists, or viewing item properties.
来源:https://stackoverflow.com/questions/4014150/sharepoint-document-or-item-download-view-event-handler