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 {metadata-values} macro that lists all of the metadata attached to a specified page.

The macro will only display the metadata defined on the page, not any metadata values retrieved from other pages.

Parameters

Parameter

Required

Default

Notes

Version

page (or unnamed first parameter)

Image Removed

(tick)

@self

The individual content page to retrieve any added metadata and values.

Default is to the current page.


orientation


vertical

The tabular report is displayed either

  • orientation=vertical

  • orientation=horizontal


Usage

Excerpt

To list all the single metadata and metadata values on a page, choose the Metadata values macro from the Confluence macro browser:

Image RemovedImage Added

The macro editor allows you to configure the macro.

Image RemovedImage Added

The macro displays any metadata and their values on the specified page in a tabular format. The default page, if no page is specified, is the current page, @self.

Any metadata on the page will be displayed in the macro editor Preview, with the option to display the metadata in a vertical or horizontal table.

If there is no metadata added on the specified page, the Preview will display the following:

Image RemovedImage Added

This message is also displayed on the page.

Note that the (star) This macro does not list any space metadata added to the page - only metadata added using the {metadata} macro and the {metadata-list}macro.

Markup Reference

Code Block
languagetextthemeRDark
{metadata-values|orientation=horizontal}

This would display any metadata names and the values on the current page:

...

Usage with the Comala Document Management app

The {metadata-values} macro is partially supported by the Comala Document Management app at workflow level.

Code Block
languagetextthemeRDark
{metadata-values}

Do not use (warning) Use of the macro with the orientation parameter is unsupported at workflow level in the Comala Document Management app, for example {metadata-values|orientation=horizontal}. This is unsupported and This use will simply display an error.

Related macros

Child pages (Children Display)
pageComala Metadata Macros
first4

Related documentation