Confluence 5.4 has reached end of life
Check out the [latest version] of the documentation
The Page Properties Report macro presents a tabulated summary of metadata that has been embedded, using the Page Properties macro, on any page or blog post in the current Confluence space. The Page Properties Report macro collects metadata from only those pages or blog posts that have a specific label.
The left-hand column of the report shows the name of the page that contains the metadata. Each page name is presented on a single row with a link to the page.
The other columns in the report represent the fields (keys) defined in the Page Properties macros. You can sort the table by choosing the column headers.
This macro was previously known as the Details Summary macro.
Basic usage of Page Properties and Page Properties Report macros
The Page Properties macro is used in conjunction with the Page Properties Report macro. To use the macros: Add a two column table in the body of the macro placeholder for your metadata keys and values. When you insert the Page Properties macro on a page Confluence automatically adds the label to the page. The Page Properties Report macro will only display information from one Page Properties macro per page.
Screenshot: example 'Status' report
Using the Page Properties Report macro
Add the Page Properties Report macro to the page:
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
Speeding up macro entry with autocomplete:
Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
- Add a label to the macro, using the macro parameters.
In the macro browser, specify a Label. For example, 'Status'.
Screenshot: Page Properties Report macro with label specified
Parameters
Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example
).
Parameter | Default | Description |
---|---|---|
Label | (None) | Identifies the label to be used in the Page Properties Report. The report will show data from all pages in the current space containing a Page Properties macro with the same label. |
Restrict to spaces | (None) | If not specified, the report will only show data from the current space. You can specify a comma separated list of space keys, or use @all to show data from all spaces. |
Title column heading | Title | The heading to display on the first column in the report table. This column contains links to pages displayed by the report. The default column heading is 'Title'. |
Columns to show | (None) | If not specified, the report will show all columns. You can specify a comma separated list of columns to include. If your column heading includes commas, use double quotes around the column name. If your column heading includes quotes, use double quotes. For example, A column, "My ""new"" column, yes", Third column |
Number of items to display | 30 | Number of items to display in the table before displaying pagination options for additional items. |
Sort by | Last modified date | Sort the table by a specific column heading. Enter the column name, exactly as it appears in the corresponding Page Properties macro. Select the Reverse Sort check box to sort the table in reverse order. |
Show Comments Count | No | Displays the number of comments for each page in the table. |
Show Likes Count | No | Displays the number of likes for each page in the table. |
Examples
The following examples outline how you can use the Page Properties and Page Properties Report macros together.
The following examples outline how you can use the Page Properties and Page Properties Report macros together to create a Status Report or a Risk Report.
Code examples
See: