Get Data

Get Data

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

Name

Required

Migratable to Cloud?

Default Value

Description

name (Field Name)

 Yes

No



The name of the field.

The name must be unique.

Can be a field path:

  • For non-repeating data, <Field Name>

  • For the Group Data macro, <Group Name>.<Field Name>

  • for repeating data, such as a Table Data or Repeating Data macro, <Group Name>.<Row Number>.<Field Name>, where <Row Number> equals 0 for the first row.

See the example under the Notes section later on the page.

format (Display Format)

 Optional

No



The number format (e.g., #,##0.00) or date format (e.g., dd MMM yyyy) for parsing the value.

The parameter is ignored for data types other than number or date.

separator

 Optional

No



If the item/key points to a list of results, the type of separator to display between each item.

The separator can be one of the following:

  • bracket - square brackets ([ ]) surrounding each item

  • brace - braces ({ }) surrounding each item

  • comma - a comma (,) between each item

  • parent - parentheses (( )) surrounding each item

  • pipe - a pipe (|) between each item

  • newline - a line break after each item

  • "custom" - any character you want specified between quotes.

custom separator

 Optional

No



Describes what you want to use as a separator.

Only used when the separator parameter is set to custom.

Editor view

Notes

Accessing non-repeating data

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

Accessing Group Data macro data

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

Accessing Table Data or Repeating Data macro 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 macro or Repeating Data macro, and it accesses locally stored properties within the repeating section.

Related pages