Rating dialog widget parameter reference

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

You can also configure rating widget parameters globally for rating widgets in the portal in the CP configuration service. For information about this and the precedence hierarchy of configuration settings refer to the parent topic immediately above this topic.


Mandatory parameters

The following parameters are mandatory for the rating widget. They have no corresponding parameters in the CP Configuration Service for tagging and rating.
resourceID


resourcePrivate = false


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


customLabelPersonalPrivateRatings


customLabelPersonalPublicRatings


defaultView = PUBLIC


deletingEnabled = true


displayTabs = true


messageFadeOutDuration = (1000)  


numStars = 5


privateRatingEnabledInWidget = true


ratingsChangedEvent = (ratingsChanged)  


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


Parent

Parameter reference for the tag and rating widgets
CP Configuration Service for tagging and rating

  Capitalized "s" in JavaScript. Reflected in .dita source.


+

Search Tips   |   Advanced Search