Showing recently updated pages

Let's show what pages have been recently updated in the Confluence instance and render them in a block of text. Then we shall format the text block so it displays the results neatly.

Ingredients

Apps

Reporting for Confluence Server

Macros

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

Suppliers

Content Supplier

Guide

  1. Create a Report Block macro.
    To limit the results, set the Maximum Results parameter to "5".
    We also want to format the resulting block of text so it will be easier to read, so set the Separator parameter to "newline".

  2. Within the Report Block macro, create a Content Reporter macro.
    Set the Spaces parameter to "@all" so the macro will look in every space in the Confluence instance.
    Set the Types parameter to "page" and the Time Period parameter to "30d".

  3. Within the Content Reporter macro, create a Date Sort macro.
    Set the Key to "content:modification date" and the Order to "descending".

  4. Now, beneath the Content Reporter macro and still, within the Report Block macro, create a Report Body macro.

  5. Within the Report Body macro, create three Report Info macros.
    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".
    You may also check the Link to Item for each macro so that the results render as hyperlinks.

  6. You'll also want to add some text to give context to the three Report Info macros.
    Something like this:

  7. You should now have a series of macros that look like this:

  8. Now click Save and check out the results.

Notes

  • Not applicable.

Result

  • Not applicable.