GTL Macro Reference

GTL supports macros to express template logic, and to loop on object collections. Macro keywords are prefixed by a . (dot) character, which must be the first non-blank character in the line, and you must respect the use of line breaks in the macro syntax.

Note: Macro parameters can be delimited by double quotes, and this is required if the parameter value includes commas, braces, leading or trailing blanks. The escape sequence for double quotes inside a parameter value is \". When the macro parameters specify that a parameter is of type simple template, this means that it can contain text, variables, and conditional blocks, but no macros. Parameters of type complex template can additionally include macros.
The following macros are available: