Value Supplier
Overview
Finds or creates specific values for use with keychains.
The value could be text, a number, or a page in Confluence.
Details
Name: | Value Supplier |
---|---|
Prefix: | value (required) |
Supported Content: | Anything |
Provided By: | Reporting for Confluence, from version 3.2.0 |
Supported Keys
The following are the list of keys which this supplier will return a value for.
Key | Content Types | Return Type | Description |
---|---|---|---|
text X | Anything | Creates a text string with the specified value of X. | |
number(format) X | Anything | Creates a number, using the 'format' provided in brackets to parse the 'X' value. The format section is optional. | |
date(format) X | Anything | Creates a date using the specified format and parsing the 'X' value. | |
content X | Anything | Tries to find and return the specified Confluence content. It uses standard confluence link syntax to find the content. e.g.:
| |
label X | Anything | Finds the label with a name of 'X'. | |
user-profile X | Anything | Finds the user with a username of 'X'. |
Examples
Simple Value Creation Examples
*Text:* {report-info:value:text This is text} *Number:* {report-info:value:number 123|format='$'#,##0.00} *Date:* {report-info:value:date(dd-MMM-yyyy) 25-Dec-2009|format=MMMM d, yyyy} *Content:* {report-info:value:content Home|link=true} *User Profile:* {report-info:value:user-profile test1|link=true} *Label:* {report-info:value:label test|link=true}