Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Displays stored field data.

Info

Numbers and dates can be formatted as desired.

...

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

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

name (Field Name)

 Yes

No


The name of the field.

 Must

Info

The name must be unique.

May be a field path:

For
  • for non-repeating data

-
    • Field Name

For
  • for group-data

-
    • Group Name.Field Name

For
  • for repeating data such as table-data or repeating-data

-
    • Group Name.Row Number.Field Name (

Note:
    • the 1st row has a number of 0)

See example

under Notes section

under Notes section below.

format (Display Format)

 Optional

No


The number format (e.g. '#,##0.00') or date format (e.g. 'dd MMM yyyy') to use when parsing the value being set.

Info

The parameter will be 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.

May

The separator can be one of the following:

  • bracket

 - Square
    • square brackets ('[', ']') surrounding each item

.
  • brace

 - Braces
    • braces ('{', '}') surrounding each item

.
  • comma

 - A
    • a comma (',') between each item

.
  • paren

 - Parentheses
    • parentheses ('(', ')') surrounding each item

.
  • pipe

 - A
    • a pipe ('|') between each item

.
  • newline

 - A
    • a line break after each item

.
  • "custom"

 - Any
    • any other character you wish, specified between quotes.

customseparator

 Optional

No


What you wish to use as a separator

, only

.

Info

Only used when custom is selected for

Separator

separator.

Editor View

...

Notes Notes

Accessing Non-Repeating Data

...

Code Block
{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 Unlike Report Info, this macro can tell when it is inside a scaffolding scaffolding Table Data or  macro or Repeating Data macro  macro and will access locally-stored properties within the repeating section.

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "get-data"
labelsget-data