Set Data
Description
Allows entering of text in a single- or multiple-line text field.
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|
[default] / name |
|
|
| The name of the set data field. Must be unique. |
type |
|
| text | The type of field to display. May be one of the following:
|
format |
|
|
| 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 |
|
| false | When set to "true", the value being set will not be displayed to the page viewer. |
value |
|
|
| The value to set. You can alternatively use the body of the macro, which is useful if setting more complex wiki markup. |
render |
|
| 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.