metadata-values macro

metadata-values macro

Overview

The metadata-values macro lists all of the metadata attached to a specified page.

The macro only displays the metadata defined on the page. It does not display any metadata values retrieved from other pages.

Parameters

Parameter

Required

Default

Notes

Version

Parameter

Required

Default

Notes

Version

page (or unnamed first parameter)

@self

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

  • The default is to the current page



orientation



vertical

The tabular report is displayed either

  • orientation=vertical

  • orientation=horizontal



Usage

To list all the single metadata and metadata values on a page:

  • Choose the Metadata values macro from the Confluence macro browser

The macro editor lets you configure the macro.

Macro editor - Metadata values macro

The macro displays any metadata and its value on the specified page in tabular format. If no page is specified, the default page is the current page, defined by @self.

Any metadata on the page is 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 displays the following warning:

A message is also displayed on the published page.

The macro does not list any space metadata added to the page. Only metadata added using the metadata macro and the metadata-list macro is displayed.

Markup reference

{metadata-values|orientation=horizontal}

This displays 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 the workflow level.

{metadata-values}

Use of the macro with the orientation parameter is unsupported at the workflow level in the Comala Document Management app. For example, using{metadata-values|orientation=horizontal} displays an error.

Related macros

Related documentation

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.