Versions Compared

Key

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


Div
idProductTOC

On this page

Table of Contents
maxLevel2
excludeOn this page
typeflat
separator |

Description

Provides a user form with input fields before rendering the body of the macro. Form fields will be used to replace variables in the body prior to rendering. Field values can be provided by user interaction, pre-defined variables, or request parameters. Any text in the macro body that begins with $ immediately followed by a key found in the replace parameter list (see Field types for details) will be replaced by the value. Normally, values will be provided by a user submitting a form from the page based on the replace parameter. Default values can be specified.

This macro may have restricted use for security reasons. See Macro Security for Confluence and consult with your administrator for details.

Section


Column


Tip
titleVariables

List of Pre-defined variables and access to content-properties.



Column


Warning
titleMigration warning

If you continue to use legacy wiki markup, you must assign a unique id (see the id parameter) if there are more than one run macros on the same page. In this case, the default id generated in wiki mode is always 1 which only works correctly if only 1 run macro is on the page. Either convert the macros to rich text or add unique ids.



...

  1. User interaction - a user inputs data into the fields you've defined.
  2. By using Pre-defined variables.
  3. By including request parameters (from the URL).

Any text in the body of the run macro will be replaced by:

  • the value when the text begins with '$' immediately followed by a key found in the replace parameter list  (see Field types for details). Typically, values will be provided by a user submitting a form from the page based on the replace parameter. When defining field types, default values may be specified.
  • dynamic text using any Field key parameters that begin with '$' followed by a Field key. 

...

titleVariables

...

Use the run macro

The following steps will help demonstrate the most common method of introducing the run macro to a Confluence page.

...