按 sharepoint 内容查询 Web 部件中最流行的方式对文档进行排序
我想按“浏览次数最多”订购在内容查询 Web 部件内显示的一组网页我知道 sharepoint 会跟踪此类内容,但我不知道如何将此列表公开给内容查询 Web 部件 - 谁能指出我的方向正确吗?
提前致谢
I'd like to order a set of webpages showing inside a content query webpart by 'most viewed' I know sharepoint keeps track of such things but I don't know how to expose this list to the content query web part - can anyone point me in the right direction?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确实,SharePoint 可以将用户访问记录到磁盘上的使用日志和内容数据库中的审核日志中。 但没有 API 可以像对大多数浏览页面的查询一样对数据发出报告构建查询。 您将需要开发或购买:
开发:您可以打开网站集的审核日志并开发一个批处理作业,该作业按计划扫描新条目并更新包含最多内容的自定义列表浏览过的页面。 有关详细信息,请参阅读取 Windows SharePoint Services 3.0 审核日志中的条目 开发:您可以打开网站集的审核
购买:为了获得更灵活的报告解决方案并避免开发,您可以查看一些适用于 SharePoint 的第三方报告解决方案,例如 Nintex、Cardiolog 或 MAPIlab。
It is true that SharePoint can log user visits to the usage log on disk and the audit log in the content database. But there is no API for issuing report building queries against the data like a query for most viewed pages. You will need to develop or buy:
Develop: You could turn on the audit log for your site collection(s) and develop a batch job that on a scheduled basis scans it for new entries and updates a custom list holding the most viewed pages. See Reading Entries from the Audit Log in Windows SharePoint Services 3.0 for more information on working with the audit log.
Buy: For a more flexible reporting solution and to avoid development, you could take a look at some third-party reporting solutions for SharePoint like Nintex, Cardiolog or MAPIlab.