Working with the Reviews And Ratings List Web Part

The Reviews and Ratings List Web Part lets the shopper view the list of reviews and ratings of a product.

Architecture

The Reviews and Ratings List Web Part depends on the existence of the ReviewRating Template list, created from the Product Reviews and Ratings template. (The template is found under View All Site Content, Create, Custom Lists on the Web site.)

You must connect the Reviews and Ratings List Web Part to the Product Provider Web Part.

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

To modify the XSLT Property List Web Part

  1. Select the XSLT Property Web Part.

  2. Select Edit, Connections.

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

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

Properties

The following table lists the properties that you can define for the Reviews And Ratings List Web Part. Only modify the properties by using the XSL Editor.

Property

Type

Description

Default value

Template to Display

String

Template that displays the product’s details

Empty

Template Details

String

XSL style sheet

Empty

Save Current Template to Library

String

The name of the library in which to save the template

Empty

Customization

You can customize the look of the Reviews and Ratings List Web Part by changing the XSL template.

Error Handing

Not applicable.

API Dependencies

Not applicable.

See Also

Other Resources

Developing with SharePoint Commerce Services

Developing with Catalog Web Parts

Reviews and Ratings List Web Part

Working with the Product Provider Web Part