Voting Essentials

CAUTION

AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

The voting component, a tally subclass, is a useful tool that allows members to rate a particular piece of content by simply selecting up or down arrows to indicate their opinion.

Placing multiple instances of a voting component on the same page is allowed; each instance must be configured with an unique tally name property.

Anonymous posting of a vote is not supported. Site visitors must register and sign in to participate in voting only once, The signed in visitor (member) may change their vote at any time.

Essentials for Client-Side

resourceType social/tally/components/hbs/voting
includable Yes - properties are editable in design mode
clientlibs cq.social.hbs.voting
templates

/libs/social/tally/components/hbs/voting/voting.hbs
/libs/social/tally/components/hbs/voting/activity-title.hbs

CSS /libs/social/tally/components/hbs/voting/clientlibs/votingcomponent.css
properties

See Using Voting

Essentials for Server-Side

Accessing Posted Voting (UGC)

UGC should be moderated using one of the standard methods for moderation.
See Moderating User Generated Content.

As of AEM 6.1 Communities, use of a common store for UGC includes programmatic access to UGC regardless of the chosen storage option (such as ASRP, MSRP or JSRP).

The location and format of the UGC in the repository is subject to change without warning.

See:

On this page