Content Report Table Macro

The Content Report Table macro displays a set of pages and blog posts in tabular format, based on the labels specified in the macro parameters.

A working example

Below is a working example of the Content Report Table macro, displaying content with the label 'LDAP'.

Title Creator Modified
Connecting to LDAP or JIRA applications or Other Services via SSL Nick Faiz Mar 19, 2017
Configuring the LDAP Connection Pool Sarah Maddox [Atlassian] Mar 19, 2017
Managing Nested Groups Sarah Maddox [Atlassian] Feb 21, 2017
User Management Limitations and Recommendations Sarah Maddox [Atlassian] Feb 01, 2017
Managing Multiple Directories Sarah Maddox [Atlassian] Nov 09, 2016
Configuring an SSL Connection to Active Directory Sarah Maddox [Atlassian] Nov 08, 2016
Synchronizing Data from External Directories Sarah Maddox [Atlassian] May 27, 2016
Connecting to an Internal Directory with LDAP Authentication Sarah Maddox [Atlassian] May 27, 2016
Requesting Support for External User Management Matt Ryall Oct 06, 2015
Diagrams of Possible Configurations for User Management Sarah Maddox [Atlassian] Oct 06, 2015
Configuring User Directories Sarah Maddox [Atlassian] Oct 06, 2015
Connecting to an LDAP Directory Sarah Maddox [Atlassian] Aug 18, 2015

Using the Content Report Table Macro

To add the Content Report Table macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros
  2. Find and select the required macro

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.

Parameters

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Parameter

Required

Default

Description

Label(s)
(labels

Yes

None

This parameter is required. Specify one or more labels, separated by a comma. The macro will display the content tagged with any of the label(s) specified here.

For example, if you specify labels 'A' and 'B', the macro will display all pages that have the label 'A', and all pages that have the label 'B', and all pages that have both those labels.

Space(s)
(spaces

No

(All spaces)

Specify one or more space keys, separated by a comma or a space. The macro will display only the content which belongs to the space(s) specified here.

When specifying a personal space, remember to use the tilde (~) sign in front of the username, such as ~jbloggs or ~jbloggs@example.com.

Maximum Number of Pages
(maxResults
No 20

Define the maximum number of pages that the macro will show in a single set of results. If there are more pages to be shown, the macro will display a link labelled 'Find more results'. People viewing the page can choose the link to go to a search view, which shows all pages tagged with the specified label(s).

Which pages will appear? Before displaying the results, Confluence will sort them by the date the page was last modified. The most-recently created/updated pages will appear first.

Code examples

The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page. 

Macro name: content-report-table

Macro body: None.

Storage format example

<ac:structured-macro ac:name="content-report-table">
  <ac:parameter ac:name="spaces">
    <ri:space ri:space-key="DOC"/>
  </ac:parameter>
  <ac:parameter ac:name="labels">LDAP</ac:parameter>
  <ac:parameter ac:name="analytics-key">meeting-notes</ac:parameter>
  <ac:parameter ac:name="maxResults">5</ac:parameter>
</ac:structured-macro>

Wiki markup

Wiki markup is not available for this macro. You cannot add this macro via wiki markup.


Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport