Description

Allows entering of text in a single- or multiple-line text field.

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

[default] / name

  • (/)

  • NO

 

The name of the set data field. Must be unique.

type

  • (X)

  • NO

text

The type of field to display. May be one of the following:

  • text - (default) Text data.

  • number - An integer or decimal value.

  • date - A date.

  • boolean - A true/false value.

  • content - A link to a single Confluence page/news item. e.g. "SPACEKEY:My Page" or just "My Other Page".

  • attachment - A link to a page/news item attachment. E.g. '^mypicture.jpg'.

  • user - A link to a registered user. This is their username, not their full name. E.g. "jtkirk" or "administrator".

format

  • (X)

  • 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". This is basically required when the data type is "date", since the default date format is unlikely to be used when setting a date.

hidden

  • (X)

  • NO

false

When set to "true", the value being set will not be displayed to the page viewer.

value

  • (X)

  • NO

 

The value to set. You can alternatively use the body of the macro, which is useful if setting more complex wiki markup.

render

  • (X)

  • NO

text

When set to "wiki", the text will be rendered in wiki markup. Otherwise, the text will just be displayed as plain text.

Note: Deprecated.

Editor View

Macro Edit View

Not applicable.

Notes

Be careful when combining with other Scaffolding macros. The *Set Data* macro may not be nested within a Repeating Data macro or a Group Data macro.

Tutorial Examples