To tokenize scripts with chain variables, such as for flexible and dynamic scripts used with various command line interfaces (CLIs) like Windows® batch, Linux® shell, Essbase® MaxL, and Anaplan® Connect, add a step with a Handlebars connection command.
To enable these commands, an IT admin first creates a Handlebars connector.
Render File Template
Renders the template provided with its variables replaced with the values specified. To specify a variable that should be replaces, templates use the syntax {{VARIABLE_NAME}}
.
Inputs
Input |
Detail |
Template |
Enter the file template to render |
Variables |
Enter the variables to use for the template |
JSON Variables |
Enter the JSON variables to use in the template, including expressions such as #each |
Outputs
Output |
Output Type |
Rendered File |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
There was an error rendering the template |
Render Text Template
Renders the template provided with its variables replaced with the values specified. To specify a variable that should be replaces, templates use the syntax {{VARIABLE_NAME}}
.
Inputs
Input |
Detail |
Template |
Enter the file template to render |
Variables |
Enter the variables to use for the template |
JSON Variables |
Enter the JSON variables to use in the template, including expressions such as #each |
Outputs
Output |
Output Type |
Rendered File |
File |
Exit Codes
Code |
Type |
Detail |
0 |
Success |
Success |
1 |
Error |
There was an error rendering the template |