Retrieving and displaying a single piece of space metadata
To retrieve a single metadata value from a space, choose the space metadata from macro from the Confluence macro browser: The macro editor allows you to configure the macro. The macro requires you to add the space metadata value name. The source space defaults to the current space. To retrieve space metadata from another space, add the space key for the space. In the example the metadata The value of If the metadata included any wiki formatting as part of the value then this will be rendered on the current page together with the value. Otherwise the value is displayed unformatted.Team Owners
has been defined using the space-metadata
macro. Once you choose Insert, the macro placeholder is displayed on the edit for the current page, with the metadata value name appended.Team Owners
will displayed on the current page. In the example the space metadata value was added as Comala Development Superstars
.
Retrieving and displaying multiple pieces of space metadata from matching spaces
To retrieve multiple metadata values from spaces in the instance, choose the Spaces Metadata Report macro from the Confluence macro browser: The macro editor allows you to configure the macro before you Insert the macro to the page. At least one metadata name is required. For each space with none of the specified metadata the report will display an empty row. If required, simply A null value in the report may indicate that there is no metadata name attached, rather than a null value for the metadata value for the space. In the example, three spaces have space metadata attached - with the results sorted on one column and results restricted. No content can be added to the macro placeholder. The report displays the spaces metadata and their values in a tabular format. the name of the space is displayed using the the table column order depends on the order of the fields entered using the macro editorsort
on an appropriate column and set maxResults to only show only the spaces with a value for the attached space metadata.Space
internal metadataGalaxy Base
, G-Type
and Lead Commander
are all space metadata created using the Comala Metadata App