Inline rating widget parameter reference

You configure inline rating widget instances by setting the following Javascript parameters.


Mandatory parameters

The following parameters are mandatory for the rating widget.


id = unique_ID


resourceID


resourceTitle


resourceType = NAVIGATION_NODE | CONTENT_NODE


Optional parameters

The following parameters are optional for the rating widget. They correspond to similar parameters in the CP Configuration Service.


customLabel  


displayTwisty = (COLLAPSED)  


numStars = 5


onStarClickOpenDialog = true|false


onStarHoverShowRatingDistribution = (true)  


ratingsChangedEvent = (ratingsChanged)


ratingDialogWidgetParameters


ratingDistributionPosition = [30, 30]


ratingScope = (COMMUNITY_PERSONAL_PUBLIC)


resourceCategories = ["resrc_category_1", "resrc_category_2", . . . "resrc_category_n"]


resourcePrivate = true|false


showDialogLauncher = true|false


Parent

Parameter reference for the tag and rating widgets
Rating dialog widget parameter reference
CP Configuration Service for tagging and rating

 


+

Search Tips   |   Advanced Search