Node.js render logging?

Stimulsoft Reports.JS discussion
Post Reply
Barnaby
Posts: 27
Joined: Tue Dec 20, 2016 1:57 am

Node.js render logging?

Post 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
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Node.js render logging?

Post by Lech Kulikowski »

Hello,

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

Thank you.
Barnaby
Posts: 27
Joined: Tue Dec 20, 2016 1:57 am

Re: Node.js render logging?

Post 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
});
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Node.js render logging?

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply