...
...
...
...
...
...
...
...
...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
The {space-metadata-list
} macro allows the user to attach multiple pieces of metadata to a space with one macro macro (see the metadata-list macro for the equivalent functionality for pages).
Parameters
Parameter | Required | Default | Notes | Version | ||
---|---|---|---|---|---|---|
| No parameter is required. The metadata names and values are added to the body of the macro.
| |||||
|
|
|
|
|
| ||||
|
|
| ||
|
| Clears the values for any metadata on the page on adding the macro to the page
|
Usage
Excerpt | ||
---|---|---|
To add multiple pieces of metadata to a space, choose the Space Metadata list macro in the Confluence macro browser: The macro editor allows you to configure the macro. The macro editor only includes the following options for the macro:
You must Insert the macro to add the metadata names and their values using the { The metadata name and value can be plain text or include simple wiki markup. In the example above the metadata and their values are rendered in a table on the page: Existing metadata values can be cleared on adding the macro to the page by checking the Clear value option in the macro editor.
When using the macro to set a metadata that is a date and time, Confluence search and CQL will return the value as a string value unless the metadata value is added in the following format
|
Reference Markup
Code Block | ||||
---|---|---|---|---|
| ||||
{space-metadata-list} || Location | Europe | || Division | EMEA| || Headquarters | Bilbao, Espagne| {space-metadata-list} |
For the space in which the page is located:
the metadata names are added as space metadata.
the metadata values are set as those in the body of the macro.
The default is to display the metadata and the values on the page in a tabular format.
...
Add clear=true
to remove any existing space metadata on the page.
Usage with the Comala Document Management app
The {space-metadata-list}
macro is partially supported by the Comala Document Management app.
Code Block | ||||
---|---|---|---|---|
| ||||
{trigger:pageupdated} {space-metadata-list} || Name | Comala Metadata Plugin | || Version | 3.5.x | || Product Versions | Confluence 6.x | || Author(s) | Captain Comala | {space-metadata-list} {trigger} |
If the macro is used at workflow level in the Comala Document Management app do not use it together with the orientation
parameter, for example {space-metadata-list|orientation=horizontal}
as this is unsupported and will cause an error.
Related Comala Metadata macros
Child pages (Children Display) | ||||||||
---|---|---|---|---|---|---|---|---|
|