Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Table of Contents
maxLevel3
minLevel2
absoluteUrltrue
excludeSee also
typeflat
separatorpipe

Overview

The {space- metadata-from} macro is a simple macro that can retrieve one piece of metadata from a space.

Each macro can only be used to retrieve the value of a single space metadata value name.

...

Parameters

Parameter

Required

Default

Notes

Version

value-name

Image Removed
Image Added


The value name of the space metadata to retrieve. Any wiki format that is part of the metadata value will be rendered on the current page.


space



The space where the value name of the space metadata has been added.

Default is to the current space.


Usage

Excerpt

To retrieve a single metadata value from a space, choose the space metadata from macro from the Confluence macro browser:

Image RemovedImage Added

The macro editor allows you to configure the macro.

Image RemovedImage Added

The macro requires you to add the 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.

Image RemovedImage Added

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

Image RemovedImage Added

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.

Image RemovedImage Added

Reference Markup

Code Block
languagetextthemeRDark
{space-metadata-from:Department|space=HR}

Usage with the Comala Document Management app

The {The space- metadata metadata-from} macro is  macro is NOT supported by  by the Comala Document Management app and will not work at workflow level. No value will be displayed.

Related Macros

Child pages (Children Display)
pageComala Metadata Macros
sorttitle
reversetrue
first4

Related documentation