not displaying in merged header/footer template.

  • I am having an issue where objects stored in are not showing on my header/footer template which I merged using pdf-utils.
    0_1607339828648_Screenshot 2020-12-07 131617 pdf utils settings.png

    These are my settings.

    If i create another Script and call the beforeRender function and console.log the object it shows up in the console. But when I try attach the object to an html element it doesn't render. Does anyone have any idea why this is?

  • Please see the dome here

    You probably just need to use {{@root.someData}}, because you are in an inner scope. But just guessing.
    Please share a playground if this didn't help.

  • Hi Jan thank you so much it worked!!!

Log in to reply

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