Most visited pages in SharePoint site 2010 using JavaScript

Hi,

How can I find most visited pages in SharePoint 2010 site using JavaScript. Please help me.

Thanks in Advance.

July 23rd, 2015 8:32am

Hi,

With SharePoint Object Model, we can access the web analytics data with the help of Microsoft.Office.Server.WebAnalytics dll:

http://blogs.technet.com/b/sharepointdevelopersupport/archive/2012/10/04/how-to-retrieve-web-analytics-report-data-using-api.aspx

However, since there is no such API exposed in client side, as a workaround, you can create a custom web service with the functionality implemented by SharePoint Object Model, then you will be able to call this web service using JavaScript.

A demo about how create custom web service in SharePoint 2010 would be helpful:

http://www.thesharepointblog.net/Lists/Posts/Post.aspx?List=815f255a%2Dd0ef%2D4258%2Dbe2a%2D28487dc9975c&ID=67

Thanks
Free Windows Admin Tool Kit Click here and download it now
July 24th, 2015 3:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics