report.saveDocumentToJsonString() or report.saveDocumentFile() are working fine.
Stack trace looks like this:
Code: Select all
Exception has occurred: RangeError: Invalid array length
at String.map (<anonymous>)
at Q.toBytesArray (...\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:13:169724)
at $S.getBytes (...\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:14:141527)
at SM.savePackedDocumentToByteArray (...\node_modules\stimulsoft-reports-js\Scripts\stimulsoft.reports.js:45:117212)
Is any other way to obtain the Byte array of the rendered report ?
Thank you.