Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
The spaces-report
macro allows you to generate a report detailing multiple space metadata attached to the matching spaces.
Any metadata created with the Comala Metadata App space-metadataand the space-metadata-list macros can be displayed in the report.
The macro will also retrieve values for any Confluence internal space metadata, such as Space
alongside metadata created with the Comala Metadata App.
Parameters
Parameter | Required | Default | Notes | Version | ||
---|---|---|---|---|---|---|
|
| The list of fields (columns) to be included in the report. This can include added metadata and internal metadata. | ||||
|
| Specifies which column in the report should be sorted by. You can also include a hint for the sort method before the sort direction. For instance "Name as istring asc" or "Name as istring" will apply a case-insensitive comparison, considering values as string. Other choices include
| ||||
| Specifies the maximum number of results in a report. Default is 500. |
Usage
Excerpt | ||
---|---|---|
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
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.
|
Reference Markup
Code Block |
---|
{spaces-report:Space,Owner,Purpose,Galaxy Base, Lead Commander, Last Time Changed|sort=Owner desc|maxResults=4} |
...
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|