Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Live template
templateTypetemplate
templateOption{"label":"Macro Reference Live Template v2","value":"477609382","templateType":"template"}
templateTypeOption{"label":"Confluence template/blueprint","value":"template"}
templateId477609382
excerptDescription The Set Data macro allows entering of text in a single-line or multiple-line text field. Parameters Name Required Migratable to Cloud? Default Value Description [default] / name (/) No   The name of the set data field. The name 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 true/false value content link to a single Confluence page/news item, for example, "SPACEKEY:My Page" or just "My Other Page" attachment a link to a page/news item attachment, for example, '^mypicture.jpg' user a link to a registered user. This is their username, not their full name. For example, " 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 is ignored for data types other than " number " or " date " . This is 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. 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.
fieldGroupKeys{"sk3oufj352":["net.customware.confluence.plugin.scaffolding__sk3oufj352__data_0_odkp99mu5fug5dy3p51p"]}

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "set-data" and space = currentSpace ( )
labelsset-data