Help Desk

Submit a ticket My Tickets
Welcome
Login

Handlebars Command Reference

The Handlebars BizApp provides functionality for replacing raw text or file templates with a set of variables.

Connections

Handlebars

The OneCloud templates default connection.

Inputs

None

Commands

Render File Template

Renders the template provided with the variables in the template replaced with the values specified. Templates use the syntax {{VARIABLE_NAME}} to specify a variable that should be replaced.

Inputs

Input Type Detail Notes
Template FileField The file template to be rendered.
Variables GroupField The variables to use for the template.
JSON Variables GroupField JSON variables to used in the template. With these variables expressions such as #each can be used.

Outputs

Output Output Type Notes
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 the variables in the template replaced with the values specified. Templates use the syntax {{VARIABLE_NAME}} to specify a variable that should be replaced.

Inputs

Input Type Detail Notes
Template TextField The text template to be rendered.
Variables GroupField The variables to use for the template.
JSON Variables GroupField JSON variables to used in the template. With these variables expressions such as #each can be used.

Outputs

Output Output Type Notes
Rendered Text String

Exit Codes

Code Type Detail
0 Success Success
1 Error There was an error rendering the template.
B
Brian is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.