Child template generates error

  • I am implementing a for loop which needs to generate a list of child templates. Something akin to the example in the documentation
    {{#each students}}
    {{childTemplate "student"}}

    However, when I render the document it returns this error:
    Error while executing templating engine. Missing helper: "childTemplate"
    Error: Missing helper: "childTemplate"

    What do I need to do to add the child templates?


  • You likely use jsrepotr v2 and the childTemplate helper was introduced in the v3
    Please refer to this documentation when using jsreport v2

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.