I want to display in a webpart whats the top 5 ( recenlty updated and Most Popular wiki Pages). By most Popular I mean not be STAR rating but the most visited Wiki page.

How do I do it? My idea is to add a custom feild to a list and update the increment Counter when ever the page is visited and then display the pages with the maximum count.

  • You could pull from the site usage page for each wiki site... – Mike Nov 17 '11 at 15:59
  • Can you display the site usage in Web part? – rajes Nov 17 '11 at 16:29
  • Not out of the box, but you can create a simple webpart that pulls from the data in the site usage... Why reinvent the wheel by incrementing a value for each site hit? – Mike Nov 17 '11 at 16:32
  • How do I get the data in the site usage? Can you point me in the direction on how to go about it. I can create the webpart using coding from Visual studio 2010. I have sharepoint 2010.Also access to Sharepoint Designer – rajes Nov 17 '11 at 16:34
  • You will use the SPWeb.GetUsageData method in order to pull the siteusage from the site that you are requesting. msdn.microsoft.com/en-us/library/… – Mike Nov 17 '11 at 16:56

is using web analytics a possibility for you? see http://blogs.msdn.com/b/ecm/archive/2010/03/21/introducing-web-analytics-in-sharepoint-2010.aspx

I believe there are some out of the box webparts that can show most visited pages and things like that

| improve this answer | |
  • Now this will get me the most visited pages. I need to check from the user if they want the most clicked paged or the most viewed page. Will post later. – rajes Nov 18 '11 at 14:22
  • another, complete different solution, would be to use google analytics and use that info to integrate in your site. javascript can be included using a CEWP – Bas Lijten Nov 18 '11 at 14:51
  • google analytics does it give the most clicked pages? – rajes Nov 18 '11 at 15:17
  • out of the box webparts that can show most visited pages ? I found none. ccan you let me know what hey are. I dont mind buying them – rajes Nov 18 '11 at 15:18

There is a web analytics web part with SharePoint 2010 that will give you the popularity ratings and most viewed content. It is included in SharePoint Server.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.