Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E3FCEF

If you'd like to display only the children of the children pages, check out the Displaying a List of Only Grandchildren Pages page.

Result

...

Recipe

Apps

Reporting for Confluence Server & Data Center

Level

Intermediate

Estimated time

30 minutes

Macros

Date Sort, Local Reporter, Report Body, Report Info, Report List

Suppliers

Content Supplier

Storage format

You can copy and paste this code into the Confluence Source Editor:

...

You can recreate the example in the editor view:

...

Steps

Line

Description

1

The report will be formatted as a list with Report List, which displays each of the items from a reporter as a list item. Parameter depth is set to 'all' to list descendants with different depth levels.

2

Local Reporter is used get the children of the current page, setting supplier key to 'Content Supplier'.

3

Date Sort is used to sort the children returned from the Local Reporter from latest to oldest, by setting supplier key to 'Content Supplier', and setting order to 'descending'.

4

Report Body is used as a container for displaying reported values.

5

The title of the individual child content returned from Local Reporter is displayed via Report Info, by setting supplier key to 'Content Supplier'. Setting link to 'true' will make the item a link to the page.

6

The date the child page is last modified is displayed via Report Info, by setting supplier key to 'Content Supplier'. Format is set to 'format=dd MMM, yyyy'.

7

The user who last modified the page is displayed via Report Info, by setting supplier key to 'Content Supplier'. The name is made a link to the user's homepage, by setting field link to 'true'.

Line-by-Line Explanation

  • N/A