Summary
Provides access to data set using Scaffolding Data macros.
| These keys case-sensitive. You must provide the same key as was used to save the data. |
Details
| Name: | Scaffold Data Supplier |
|---|---|
| Prefix: | data (required) |
| Supported Content: | Confluence content. |
| Provided By: | Scaffolding Plugin |
Keys Supported
The following are the list of keys which this supplier will return a value for.
| Key | Content Types | Return Type | Description |
|---|---|---|---|
| [Scaffold Data Name] | Confluence content. | anything | Returns the value stored for the specified Scaffolding data value. May be any type supported by Scaffolding, including Text, Numbers, or References, to name a few. If a data field is inside another group, it can be specified by putting a period (".") between the field names (eg. "Group.Field Name"). |
Examples
Simple Data
Set up a page called 'Test Page' with some simple Scaffolding data on it like this:
*Text:* {text-data:Text}{text-data}
*Number:* {number-data:Number}
*Date:* {date-data:Date|format=dd MMM, yyyy}
Then, using a table report, you could display all pages containing the specified scaffolding data like this:
{report-table}
{content-reporter}
{report-column:title=Text}{report-info:data:Text}{report-column}
{report-column:title=Number}{report-info:data:Number|format=#,##0.00}{report-column}
{report-column:title=Date}{report-info:data:Date|format=dd-MM-yyyy}{report-column}
{report-table}
Discussions