0 out of 3 rated this helpful - Rate this topic

Working With the Reviews and Ratings List Web Part

Commerce Server 2009

The Reviews and Ratings List Web Part displays the list of shopper-generated reviews and ratings for a product. The data source of the Reviews and Ratings List Web Part is the "Reviews and Ratings" list in SharePoint. This Web Part is a SharePoint DataFormWebPart. For more information, see http://go.microsoft.com/fwlink/?LinkId=139463.

The following figure shows the Reviews and Ratings List Web Part.

Dd328420.Vug_ReviewsandRatingsList_WebPart(en-US,CS.90).gif

The Reviews and Ratings List Web Part must be connected to the Product Provider Web Part.

In order for the Product Details Web Part to display ratings, you can choose the "Sample_RatingProductDetails" template; however, this is not mandatory. The Product Details Web Part in the Product Details page of the Default site contains a template with ratings.

To connect the Reviews and Ratings List Web Part to the Product Provider Web Part

  1. Select the Reviews and Ratings List Web Part from the Web Part list.

  2. Select Edit, Connections.

  3. Set Connection to "Get Parameters From".

  4. Set Provider Field Name to "Product Provider Web Part"

  5. In the Configure Connection Webpage dialog box, do the following:

    1. Set Connection to "get parameters from"

    2. Set Provider Field Name to ProductLink

    3. Set Consumer Field Name to ProductLink.

To modify the Product Detail Web Part

  1. Select the Product Detail Web Part.

  2. Edit "Connections".

  3. For "Get Product Provider From" select "Product Provider Web Part".

  4. Modify the XSL Template to load "Sample_RatingProductDetails ".

Dd328420.alert_note(en-US,CS.90).gifNote:

Properties should only be modified by a developer using the XSL Editor.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.