Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair

...

Description

Displays each of the items from a reporter as a list item.

A report block must contain two things:

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

  2. A Report

...

  1. Body macro, which contains the wiki code which will be executed for each item.

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

style

  • Status
    title(

...

  • X)

  • Status
    titleNO

disc/decimal

The style of bullet to display. May be any standard CSS style.

Defaults to disc if outlining is off, or decimal if outlining is on. 

outline

  • Status
    title(

...

  • X)

  • Status
    titleNO

false

If set to true, the list and any sub-lists of children will be displayed with an outline number format (e.g.: "1.2.3").

Note

This setting will only display correctly in FireFox.

depth

  • Status
    title(

...

  • X)

  • Status
    titleNO

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.

trim

  • Status
    title(

...

  • X)

  • Status
    titleNO

true

If false, the body will not have whitespace trimmed from the beginning and end.

maxResults

  • Status
    title(

...

  • X)

  • Status
    titleNO

all

(Since 2.0.0) Sets the number of results which will be displayed in this report.

If depth is 1 or more, this will apply to the number of children displayed for each item.

So if you have 10 items, each with 10 children, and you set maxResults to 5, there will be 30 items output - 5 at the root level, and 5 for each set of children.

firstResult

  • Status
    title(

...

  • X)

  • Status
    titleNO

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.

injected

  • Status
    title(

...

  • X)

  • Status
    titleNO

false

(Since 2.0.0) If set to true, the body will have any '%prefix:keychain%' values injected with values from the current report item prior to being rendered. 

class

  • Status
    title(

...

  • X)

  • Status
    titleNO

(Since 3.2.0) The CSS class to apply to the report.

Editor View

...

Macro Edit View

  • Not applicable.

Notes

  • Not applicable.

...

Tutorial Examples

...

Part 4 - Building the quick links to space templates panel

...

Displaying a List of Only Grandchildren Pages

...

Displaying a List of Children for a Page with Customized Details

...

Listing pages that were modified by current user

...

Tutorial Examples

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