Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Anchor | ||||
---|---|---|---|---|
|
Note |
---|
In order to insert any of the macros, you need to possess editor permissions for the page. |
Introduction
The Display Metadata macro shows metadata of a specified Confluence page.
Image 1: Display Metadata Macro (click to enlarge)
You can display all metadata or only certain sets or fields according to your specifications. Please refer to the following section for the available settings.
Parameters
Parameter | Default | Description | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page | None | Optional | Enter a page whose metadata you want to display. By default, the parameter is empty, which means the current page is selected. Options:
| ||||||||||||
Render mode | Table | Optional | Display metadata as "name: value" pairs (table) or only the value. Several metadata field values will be printed one after the other. Options:
| ||||||||||||
Metadata fields filter | None | Optional | Choose the metadata field to filter which fields you want to display from a multiselect dropdown. | ||||||||||||
Metadata sets filter | None | Optional | Choose the metadata set to filter for a set you want to display from a dropdown.
| ||||||||||||
Hide table headline
| Unchecked | Optional | Hide table headline in render mode: table. All metadata fields associated with the page will be displayed once in a single table without headline. | ||||||||||||
Show hidden metadata fields | Unchecked | Optional | Tick the checkbox to show all metadata fields that have been defined as hidden. | ||||||||||||
Checkboxes (Author, Last Modifier,...) | Unchecked | Optional | If you tick a checkbox, the respective metadata value will appear as a row in the overview. Available boxes:
|
Note |
---|
If both filters (metadata fields and metadata sets) are empty, all metadata (except hidden fields) will be displayed. |
Example Use Cases
1) Display all page metadata in a table. Check out this use case in our demonstration space.
2) Keep your site up-to-date using metadata. By choosing the render mode "value" and entering a specific field key, you can display single metadata values wherever you need the information.
Include Page | ||||
---|---|---|---|---|
|