SharePoint 2013-网站集中每个网站的网站命中和使用情况报告 [英] SharePoint 2013 - Website Hits and Usage Report for each Site within a Site Collection

查看:80
本文介绍了SharePoint 2013-网站集中每个网站的网站命中和使用情况报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

好的,所以我有管理层的要求.就网站点击率而言,我们需要使用情况报告中已包含的内容,而需要来自每个网站的报告.

我们要做的是弄清我们在主网站集中拥有的每个SharePoint网站的数量/统计信息.在我们的环境中,我们总共有大约256个以上的网站,我们需要每个网站的网站访问量.管理层只想知道 实际上,我们的网站集中的子网站的受欢迎程度.

我还没有找到一种简单的方法来做到这一点.进入我们拥有的每个站点都将花费大量时间.

我也许可以获取一个脚本,该脚本将环境中的所有站点排队,并为每个站点运行使用情况报告,并将其输出到我们选择的位置?

谢谢

SP:SharePoint 2013

解决方案


您可以使用代码来实现自己的目的.例如,您可以创建一个自定义列表来存储匹配信息,然后在母版页中添加一些JavaScript,然后在该自定义列表中添加一项 使用JSOM.然后,您可以基于此自定义列表获取报告.

您可以尝试使用如下所示的客户端对象模型:

如果您可以部署完整的信任代码,则可以按照以下步骤操作,请从以下链接获取帮助:

您还可以查看以下文章,以获取有关如何计算网站集所有子网站的点击数的更多信息:

最好的问候,

艾伦·白


Hi all!

Okay so I have requirements from our management. We need what's included already in the usage report in terms of site hits but instead, a report from each website.

What we are trying to do is figure out number/statistics of each SharePoint site we have within our primary Site Collection. We have about 256+ sites total within our environment and we need website hits for each site. Management want's to know just how popular sub-sites within our site collection actually are. 

I haven't been able to find an easy way to do that. Going into each and every site we have will take a ton of time. 

Could i perhaps get a script that will queue all sites in the environment and run the usage report for each site and output it to a location of our choosing? 

Thanks

SP: SharePoint 2013

解决方案


Hi,

You can use code to achieve your purpose. For example, you can create a custom list to store the hits information, then add some JavaScript in the master page, and add one item into this custom list using JSOM. Then you can get the report base on this custom list.

You can try to use client object model as given below:

http://prasadtechtactics.blogspot.sg/2012/09/sharepoint-how-to-get-site-usage.html  

If you can deploy the full trust code you can follow this, get help from below link:

https://www.codeguru.com/csharp/.net/net_asp/article.php/c19581/Monitoring-SharePoint-Usage-through-an-ASPNET-Web-Application.htm 

You can also check below articles for more information about how to count of hits for all subsites of a site collection:

https://sharepoint.stackexchange.com/questions/113644/count-of-hits-for-all-subsites-of-a-site-collection

https://social.msdn.microsoft.com/Forums/office/en-US/d622e6ed-651e-4f84-b923-2d4d9f36629a/how-to-know-count-of-hits-for-all-subsites-of-a-site-collection?forum=sharepointdevelopment

Best regards,

Allen Bai


这篇关于SharePoint 2013-网站集中每个网站的网站命中和使用情况报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆