Show recently updated pages in a table
Let's show what pages have recently been updated in the Confluence instance and display them in a table. Let's also show who created the updated pages and who modified them by displaying their avatar image.
Ingredients
Apps | Reporting for Confluence Data Center |
|---|---|
Macros | Content Reporter, Date Sort, Report Column, Report Image, Report Info, Report Table |
Suppliers | Content Supplier, User Supplier |
Guide
Create a Report Table macro with the Maximum Results parameter set to
5.Within the Report Table, 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.
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.
Under the Content Reporter macro, within the Report Table macro, create a Report Column macro with the Title parameter set to
Page Title.Within the Page Title Report Column macro, create a Report Info macro with the following parameters:
Set the Key parameter to
content:title.Select the Link To Item checkbox.
Under the Page Title Report Column macro, within the Report Table macro, create another Report Column macro with the Title parameter set to
Space.Within the Space Report Column macro, create a Report Info macro with the following parameters:
Set the Key parameter to
content:space.Select the Link To Item checkbox.
Under the Space Report Column macro, within the Report Table macro, create another Report Column macro with the Title parameter set to
Created.Within the Created Report Column macro, create a Report Info macro with the following parameters:
Set the Key parameter to
content:creation date.Select the Link To Item checkbox.
Under the Created Report Column macro, within the Report Table macro, create another Report Column macro with the Title parameter set to
Updated.Within the Updated Report Column macro, create a Report Info macro with the following parameters:
Set the Key parameter to
content:modification date.Select the Link To Item checkbox.
Under the Updated Report Column macro, within the Report Table macro, create another Report Column macro with the Title parameter set to
Author.Within the Author Report Column macro, create a Report Image macro with the Key parameter set to
content:creator > user:picture.Under the Author Report Column macro, and still, within the Report Table macro, create another Report Column macro with the Title parameter set to
Modifier.Within the Modifier Report Column macro, create a Report Image macro with the Key parameter set to
content:modifier > user:picture.Click Save and check out the results.
Macro structure
Notes
The Report Image macros use a special type of Key that looks like content:modifier > user:picture. These are called keychains and they string together keys to provide the macro with more data from Suppliers for Reporting. For more details about keychains, see Supplier Keychains.