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
Select the Reviews and Ratings Average Rating Web Part from the Web Part list.
Select Edit, Connections.
Set Connection to "Get Parameters From".
Set Provider Field Name to "Product Provider Web Part".
In the Configure Connection Webpage Dialog:
Set Connection to "get parameters from".
Set Provider Field Name to ProductLink.
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