The features described below require the ServiceRocket Reporting App.
Overview
Sets up the Metadata Supplier for Reporting Plugin versions 6.0 and above. The Workflow Supplier provides metadata information attached to pages, blog posts etc to third-party apps, such as the Reporting for Confluence app, using the Confluence Supplier Library.
This sets up the Metadata Supplier for Reporting Plugin versions 6.0 and above.
Details
Name | Metadata Supplier |
---|---|
Prefix |
|
Supported content | Pages, Blog Posts, Spaces, Users |
Provided By |
Keys Supported
Key | Content Types | Return Type | Description |
---|---|---|---|
| Any | Returns the list of all Metadata | |
| Any | Returns the metadata value associated with the current element. | |
| Any | Text | This works too, but most of those values return uninterpreted wiki syntax, requiring additional effort to utilize the returned values |
Usage and Examples
Replacement for metadata-report macro
The Reporting Plugin can be used to replace the metadata-report
macro.
For instance, the following metadata-report
:
{metadata-report:Page,Metatest,Excerpt|link=Excerpt|label=meta}
Displays:
Page | Metatest | Excerpt |
---|---|---|
P1 (http://) | ABC | Excerpt for P1 |
Home (http://) | Test Excerpt | |
P2 (http://) |
This can be replaced with:
{report-table} {content-reporter:types=page|labels=+meta}{content-reporter} {report-column:title=Page}{report-info:title|link=true}{report-column} {report-column:title=Metatest}{report-info:metadata:Metatest}{report-column} {report-column:title=Excerpt (column header)}{report-info:excerpt|link=true}{report-column} {report-table}
Displays:
Page | Metatest | Excerpt (column header) |
---|---|---|
P1 (http://) | ABC | Excerpt for P1 (http://) |
Home (http://) | Test Excerpt (http://) | |
P2 (http://) |
Reporting App syntax is more verbose, but more powerful.
For further examples, see: ServiceRocket Reporting for Confluence app