Get Data

Description

Displays stored field data. Numbers and dates can be formatted as desired. Try it out here

To display data from other pages or spaces, consider using the Reporting add-on.


Parameters

NameRequiredAvailable InMigratable to Cloud?Default ValueDescription
name (Field Name)
 Yes
Server, Data Center
No

The name of the field. Must be unique.

May be a field path:

  • For non-repeating data - Field Name
  • For group-data - Group Name.Field Name
  • For repeating data such as table-data or repeating-data - Group Name.Row Number.Field Name (Note: 1st row has a number of 0)

See example under Notes section.

format (Display Format)
 Optional
Server, Data Center
No
The number format (e.g. '#,##0.00') or date format (e.g. 'dd MMM yyyy') to use when parsing the value being set. The parameter will be ignored for data types other than 'number' or 'date'.
separator
 Optional
Server, Data Center
No

If the item/key points to a list of results, the type of separator to display between each item. May be one of the following:

  • bracket - Square brackets ('[', ']') surrounding each item.
  • brace - Braces ('{', '}') surrounding each item.
  • comma - A comma (',') between each item.
  • paren - Parentheses ('(', ')') surrounding each item.
  • pipe - A pipe ('|') between each item.
  • newline - A line break after each item.
  • "custom" - Any other character you wish, specified between quotes.
customseparator
 Optional
Server, Data Center
No
What you wish to use as a separator, only used when custom is selected for Separator.


Editor View


Notes

Accessing Non-Repeating Data

{text-data:text}{text-data}
 
{get-data:text}{get-data}

Accessing Group-Data

{group-data:group} 
 {text-data:text}{text-data} 
{group-data} 

{get-data:group.text}{get-data} 

Accessing Table-Data or Repeating-Data

{table-data:table} 
 || Table || 
 | {text-data:text}{text-data} | 
{table-data} 

{repeating-data:repeat} 
 {text-data:text1}{text-data} 
{repeating-data} 

{get-data:table.0.text}To access first row of table.text{get-data} 

{get-data:repeat.1.text1}To access second row of repeat.text{get-data} 

Unlike Report Info, this macro can tell when it is inside a scaffolding Table Data or Repeating Data macro and will access locally-stored properties within the repeating section.

Tutorial Examples