Working with the Reviews And Ratings Average Rating Web Part

The Reviews and Ratings Average Rating Web Part is used to display the average product rating on the Product Details page and the Search Results page.

This Web Part is a SharePoint DataFormWebPart. For more information, see https://go.microsoft.com/fwlink/?LinkId=139463.

Architecture

The Reviews and Ratings Average Rating Web Part must be connected to a Product Provider Web Part.

To connect the Reviews and Ratings Average Rating Web Part to the Product Provider Web Part

  1. Select the Reviews and Ratings Average Rating 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:

  6. Set Connection to "get parameters from".

  7. Set Provider Field Name to ProductLink.

  8. Set Consumer Field Name to ProductLink.

Properties

The following table lists the properties that you can define for the Reviews And Ratings Average 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

See Also

Other Resources

Developing with SharePoint Commerce Services

Developing with Catalog Web Parts

Reviews and Ratings Average Rating Web Part

Working with the Product Provider Web Part