Social Graph Essentials

The ability for a Community member to follow activities as well as be followed is established through two components:

The followcomponent must be associated with another resource, and this association is already established for existing Communities members and features in a community site.

The followingcomponent lists the members that are either following the current member or are being followed by the current member. This social graph of the relationships between members is included in the user profile established for a community site.

Essentials for Client-Side

Following

resourceType social/socialgraph/components/hbs/relationships
includable No
clientllibs cq.social.hbs.socialgraph
templates /libs/social/socialgraph/components/hbs/relationships/relationships.hbs
css /libs/social/socialgraph/components/hbs/relationships/clientlibs/relationships.css
properties See Using Social Graph
optional
property
  • Name: outgoing
  • Type: Boolean
  • Value:
    • true - the following component will list the members who the currently signed-in member follows
    • false - the following component will list the members who follow the currently signed-in member

Defaults to true if the property is missing. Currently, it is not possible to set this property using the edit dialog in author mode. The property must be added to an instance of the following node using CRXDE|Lite.

Follow

resourceType social/socialgraph/components/hbs/following
includable No
templates /libs/social/socialgraph/components/hbs/following/following.hbs
css /libs/social/socialgraph/components/hbs/following/clientlibs/following.css

Essentials for Server-Side

On this page