Kopīgot, izmantojot


Working With the Reviews and Ratings List Web Part

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 https://go.microsoft.com/fwlink/?LinkId=139463.

Web Part

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

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

Adding the Web Part to a Page

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

Property Sheet

Note

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

See Also

Other Resources

Reviews And Ratings Average Rating Web Part

Reviews And Ratings List Web Part

Catalog Web Parts

Product Details Default Page

Product Provider Web Part