Page 1 of 1

Render NodeJs report with data

Posted: Tue Jan 28, 2025 10:07 pm
by nathanleblanc
I have figured out how to render a report on the back end using nodejs and return the report as a PDF, but how do you add server side data to the report?
I want to use a JSON dataset and pass it to the report to be rendered with.

Re: Render NodeJs report with data

Posted: Tue Jan 28, 2025 10:38 pm
by Lech Kulikowski
Hello,

Please check the following sample:
https://github.com/stimulsoft/Samples-Reports.PHP

Thank you.

Re: Render NodeJs report with data

Posted: Wed Jan 29, 2025 2:19 pm
by nathanleblanc
I've looked at all those examples, but don't see one that shows how to set the data for a JSON dataSet using a PHP function.

Re: Render NodeJs report with data

Posted: Wed Jan 29, 2025 11:50 pm
by Lech Kulikowski
Hello,

Please check the following article:
https://www.stimulsoft.com/en/documenta ... _files.htm

Thank you.