Show recently updated pages in a list

Show recently updated pages in a list

Let's show what pages have been recently updated in the Confluence instance and display them in an unordered list.

Ingredients

Apps

Reporting for Confluence Data Center

Macros

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

Suppliers

Content Supplier

Guide

  1. Create a Report List macro with the following parameters:

    • Set the Bullet Style parameter to disc.

    • Set the Maximum Results parameter to 5.

  2. Within the Report List macro, create a Content Reporter macro with the following parameters:

    • Set the Spaces parameter to @all.

    • Set the Type parameter to pages.

    • Set the Time Period parameter to 30d.

  3. Within the Content Reporter macro, create a Date Sort macro with the following parameters:

    • Set the Key parameter to content:modification date.

    • Set the Order parameter to descending.

  4. After the Content Reporter macro and still, within the Report List macro, create a Report Body macro.

  5. Within the Report Body macro, create three Report Info macros with the following parameters:

    • For the first Report Info macro, set the Key to content:title.

    • For the second Report Info macro, set the Key to content:modifier.

    • For the third Report Info macro, set the Key to content:modification date.

    • Optionally, select the Link to Item option for each macro so that the results render as hyperlinks.

    • Add some text to give context to the three Report Info macros. Something like this:

  6. Click Save and view the results.

Macro structure

Result

Notes

Play around with the Bullet Style parameter in the Report List macro to change bullet styles or even to change from an unordered list to an ordered list.