Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Provides access to data set using using Scaffolding Macro Reference
Info |
---|
These keys are case-sensitive. You must provide the same key as |
...
that used to save the data. |
Details
Name: | Scaffold Data Supplier |
---|---|
Prefix: | data(required) |
Supported Content: | Confluence Content |
Provided By: | Scaffolding Forms & Templates for Confluence Server and Data Center |
Supported Keys
The following are the list List of keys which that this supplier will return returns 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.
If a data field is inside another group, it can be specified by putting a period |
"." |
between the field names |
. For example
|
Examples
Simple Data
Set up a page called 'Test Page' with some simple Scaffolding data on it like this:as below.
*Text:* {text-data:Text}{text-data}*Number:* {number-data:Number}*Date:* {date-data:Date|format=dd MMM, yyyy}
Then, using a table report, you can 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}
Additional Notes for {list-data}
To inject values from {list-data}, {attachment-data} or use it in {text-filter}, you may need additional keychains e.g.: %data:myList>collection:first% (as it is stored as collection).
For example
%data:myList>collection:first%