开发者

How to know when a file or folder is accessed (in real time)

开发者 https://www.devze.com 2023-02-07 17:47 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消