How to know when a file or folder is accessed (in real time)
I need to show some data when users access folders and files in SharePoint 2010. Each item has its own data, so I need to raise an event when开发者_StackOverflow社区 they access a certain file/folder and then show the propoer data in a webpart.
Is it possible to do that?
Thanks in advance!
You need to enable Item level Auditing and then read the Audit log:
http://msdn.microsoft.com/en-us/library/bb397403(v=office.12).aspx
i think you need to create event handler to raised the event on itemupdating.
hope this help.
精彩评论