Create a Macro for Re-use¶
To create a macro for re-use:
Choose the hierarchy to which the macro will apply.
Choose data/Macro.
Click Add.
Enter a Name for the macro.
Enter the macro in the Macro input box.
Click Save to save the macro.
The Macro is available for editing from data/Macro/{macro name}, and for use in for example a Configuration Template with a macro reference of the form {{macro.macro name}}.
To call a macro created for re-use:
Macros that have been created and saved can be called using macro syntax but with the namespace “macro” followed by the macro name: “{{macro.macroname}}”.