Image Export

Stimulsoft Reports.JS discussion
Post Reply
thorin8k
Posts: 3
Joined: Tue Dec 29, 2015 7:59 am

Image Export

Post by thorin8k »

Hello,

Im having troubles trying to export reports with images to any format available (pdf, word, ...). When i export the report from code using StiPdfExportService or from the viewer export modal the console shows the same error:

Code: Select all

TypeError: Cannot read property 'toString' of undefined
Also have tried with the demo report (Images.mrt) that comes with the downloaded package and the same error occurs.

The version installed is 2015.3 but i have also tried with lastest available patch from the downloads section and no better results.

Thanks
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Image Export

Post by Andrew »

Hello,

Please download the scripts at https://www.dropbox.com/s/hua8u4vger3f5 ... 9.zip?dl=0 and let us know about the result.

Waiting for your reply.
Thank you.
thorin8k
Posts: 3
Joined: Tue Dec 29, 2015 7:59 am

Re: Image Export

Post by thorin8k »

Hello,

With this scripts im not able to export PDF's from the viewer, when click on "Save as PDF" shows this error:

Code: Select all

Cannot read property 'invokeEndExportReport' of undefined
If i try to export the same report programatically the pdf is correctly saved but it shows empty ( Added examples as attachment)


Thanks for the support.
Attachments
with lastest oficial version.pdf
Pdf with oficial version
(15.56 KiB) Downloaded 187 times
with dropbox version.pdf
Pdf with provided version
(9.44 KiB) Downloaded 304 times
thorin8k
Posts: 3
Joined: Tue Dec 29, 2015 7:59 am

Re: Image Export

Post by thorin8k »

Hello again,

i was trying some alternatives and if i pass the data to the report dictionary using JSON.stringify the report shows correctly but the image is still lost and now also the title.

Add attachment with new pdf
Attachments
with json stringify.pdf
Pdf with json stringify
(15.39 KiB) Downloaded 243 times
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Re: Image Export

Post by Andrew »

Hello,

Please send us a report template with data to support@stimulsoft.com for analysis.

Thank you.
Post Reply