Handlebars in Celigo

Handlebars is a simple templating language. Handlebars templates look like regular text with embedded handlebars expressions. Code that appears between the curly braces {{field}} are known as “expressions” in Handlebars. Handlebars expressions may be used for:

  • Mapping Export and Import application fields;
  • Performing dynamic arithmetic calculations on the values being exported;
  • Performing dynamic encoding and decoding of data during integration.

For example,     

Template: {{library. title}}

Context: {“library”: {“album”: “The Sound”,”title”: “Danube Incident”,”artist”: “Lalo   Schifrin”}}

Output: Danube Incident

Leave a comment

Your email address will not be published. Required fields are marked *