Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 12

Description

Warning

There is a Confluence bug that does not allow you to sort columns when combining Report Table and Date Supplier. Check the Notes section for the workaround.

...

Live template
templateTypetemplate
templateOption{"label":"Macro Reference Live Template v2","value":"979936587","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId979936587
excerptDescription Displays the each of the items from a reporter in a table.

...

A report table must contain two things:

...

A reporter macro (such as  Content Reporter  or  User Reporter ), which finds the list of items to report on, and

...

one or more  Report Column  must be present to define what data is displayed.

...

It may also optionally include a  Report Empty  macro, which specifies what will be displayed if no items are returned from the reporter.

...

Parameters

...

Name

...

Required

...

Migratable to Cloud?

...

Default Value

...

Description

...

maxResults

...

(

...

x)

...

  • NO

No 100

...

The maximum number of results to display.

...

firstResult

...

(

...

x)

...

  • NO

No 1

...

(Since 2.0.0)  Specify the number of the first result to start displaying in the report. The first item has a number of 1.

...

depth

...

(

...

x)

...

  • NO

No 0

...

If the item has children, the depth do display its descendants. May be all for all descendants, or a whole number value above 0.  (Since Reporting 1.3)

...

injected

...

(

...

x)

...

  • NO

No false

...

If set to true , the column bodies will have any '%prefix:keychain%' values injected with values from the current report item prior to being rendered.

...

 

...

* It is a good practice to set the Injection to true at on {report header}, {report body}, {report footer}, or {report column}, instead on the highest level of the report.

...

class (CSS Class)

...

(

...

x)

...

  • NO

No The CSS class to render the table with.

...

displayTitles

...

(

...

x)

...

  • NO

No true

...

If set to  false , the title header row will not be displayed.  (Since Reporting 1.0.1)

...

Editor

...

...

When using the Date Supplier, the [date format] key has to be formatted to not break the sorting functionality. Set the following:

...

content:modification datecontent:modification date > date:"yy-MM-dd HH:mm:ss"

...

View Macro Edit View Not applicable. Notes Not applicable.
fieldGroupKeys{"gnidfuekr7":["net.customware.confluence.plugin.scaffolding__gnidfuekr7__data_0_w8b6lh6a12"]}

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
excerptTypesimple
cqllabel = "report-table"