Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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

2 Answers 2

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

share|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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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