Tuesday, November 10, 2009

Add user ratings and rich HTML comments to SharePoint pages

My Community Content web part and Top Rated Content web part allow user to quickly rate a page's content and easily add rich HTML comments to SharePoint 2007 pages. Using these web parts, your anonymous users can rate the page content's quality and logged-in users can submit their own comments using a rich HTML interface.

Below are a few screen shots of the Community Content web part and the Top Rated Content web part.

Installation is really easy. Download the package, unzip, and run the install.cmd file. You'll be prompted for the URL to your SharePoint 2007 site. Once installed, two web parts are added to SharePoint's web part gallery.


 

In a most cases, you'll simply want to add the Community Content web part to your SharePoint Site's master page, and add the Top Rated Content web part to any page where you'd like the listing available to users. Of course, you could just add the Community Content web part to a single page, if you'd only like comments and ratings available on that particular page.

Download UserCommentsAndRatingsWebParts.zip

From a technical perspective, the Community Content web part is added to a site's master page. At runtime, for any given requested page the web part checks the current context for both List and ListItem values. If both are present, the web part renders itself. If a both List and ListItem are not present in the current context, it quickly unloads itself. In this manner the web part is universally compatible with any type of list or site definition, and performs well.

DISCLAIMER: My free software is not guaranteed or supported in any way. All software should be evaluated in a test environment before production use. By downloading my free software, you are implicitly agreeing to these terms and conditions.

0 comments: