Access Keys:
Skip to content (Access Key - 0)

community-info macro

Overview

The {community-info} macro displays snippets of information about a community space.

Usage

{community-info:displayMode}

Parameters

Parameter Required Default Notes Bubbles Version
default   Defines which property of the community to display, available options are:
  • memberCount – The number of members in the community
  • inviteCount – The number of open invitations to the community
  • enrolmentType – The community enrolment type
1.1
space current space The space key of the community that you want to display information about 1.1

Examples

Display the number of members in the current community space

There are {community-info:memberCount} member(s) in this community.

Display the number of pending invites in the current community space

There are {community-info:inviteCount} invite(s) pending for this community.

Display the enrolment model for the current community space

The enrolment model for this community is: {community-info:enrolmentType}

Displaying properties of specific communities

To display a property of a specific community, specify it's space key with the space parameter, for example:

The enrolment model for the FOO community is: {community-info:enrolmentType|space=FOO}

Hints and Tips

The macro can only display information for community spaces. If you see an error "The specified space is not a community" then you'll need to convert that space to a community before you can display it's properties.

If the user does not have permission to view the community space, an error will be displayed.



Ask questions, get help and report bugs & issues on our Community Site

View old comments


Adaptavist Theme Builder Powered by Atlassian Confluence