This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

You can retrieve and display metadata values from one or more spaces using space-metadata-from macro and spaces-report macro. This includes the options for

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 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.

The value of Team Owners will displayed on the current page. In the example the space metadata value was added as Comala Development Superstars.

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.

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 sort on an appropriate column and set maxResults to only show only the spaces with a value for the attached space metadata.

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 Space internal metadata

  • Galaxy Base, G-Type and Lead Commander are all space metadata created using the Comala Metadata App

  • the table column order depends on the order of the fields entered using the macro editor

Related Comala Metadata macros

Other resources

  • No labels