Page 1 of 1

Node.js render logging?

Posted: Wed Feb 13, 2019 1:50 am
by Barnaby
Hey,

I have a report that isn't rendering any pages (using report.renderAsync), and it isn't outputting any error messages.

Code: Select all

renderAsync(onRender: Function, showProgress?: boolean, fromPage?: number, toPage?: number)
I've tried to use the showProgress option, but it doesn't appear to do much (it makes reports that work also generate no pages)

And I was wondering how I would be able to debug it, and find out what the issue might be.
I can see there is a report.writeToReportRenderingMessages and report.reportRenderingMessages, but I'm unsure how I would use these, or if they would be any help.

Any guidance on how I can work out the issue would be great, thanks.

Using stimulsoft-reports-js, version: 2019.1.1-b

Re: Node.js render logging?

Posted: Wed Feb 13, 2019 6:17 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.

Re: Node.js render logging?

Posted: Thu Feb 14, 2019 6:07 am
by Barnaby
I worked out it wasn't generating any pages as the report was set to "Request Parameters".

So I had to do the following

Code: Select all

report.requestParameters = false;
report.renderAsync(function(){ 
   //etc
});

Re: Node.js render logging?

Posted: Thu Feb 14, 2019 10:47 pm
by Lech Kulikowski
Hello,

Thank you for the information.