Page 1 of 1

Image Export

Posted: Tue Dec 29, 2015 8:08 am
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

Re: Image Export

Posted: Tue Dec 29, 2015 12:26 pm
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.

Re: Image Export

Posted: Wed Dec 30, 2015 8:08 am
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.

Re: Image Export

Posted: Wed Dec 30, 2015 8:16 am
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

Re: Image Export

Posted: Wed Dec 30, 2015 1:49 pm
by Andrew
Hello,

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

Thank you.