NO DATA when export to XML

Stimulsoft Reports.WEB discussion
Post Reply
vinhnguyen93
Posts: 4
Joined: Tue Oct 25, 2016 8:26 am

NO DATA when export to XML

Post by vinhnguyen93 »

Hi,
Currently, I am facing with the issue that is when I export report to XML, the report is exported successfully without any errors, but when I view the export file, it is empty and only display the below information:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Report />

Is there any reason for this problem?
Last edited by vinhnguyen93 on Wed Oct 26, 2016 12:55 am, edited 1 time in total.
Thanks,
Vinh Nguyen
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Re: NO DATA when export to XML

Post by Ivan »

Hello,

By default in Csv, Dbf and Xml exports only textboxes from DataBand are exported ("only data").
If you want to export also other bands, please change the DataExportMode property of the ExportSettings (for example, set it to StiDataExportMode.AllBands)
If the issue is still present, please send to us a sample report template with data, which reproduce the issue, for analysis.

Thank you.
vinhnguyen93
Posts: 4
Joined: Tue Oct 25, 2016 8:26 am

Re: NO DATA when export to XML

Post by vinhnguyen93 »

Hi Ivan,

So we have to override your Export function in order to export report to XML, right? Because there is no option of Band Filter to choose when type to export is XML. Can I use any property incode to let the user choose which Band Filter (Data Only, ..., All Bands) when export to XML like the way CSV does? It is able to choose Band Filter on Export Settings in the Report Viewer.
Attachments
Export.png
Export.png (24.05 KiB) Viewed 2744 times
Thanks,
Vinh Nguyen
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: NO DATA when export to XML

Post by Alex K. »

Hello,

We have added this task to our to-do list.
We will try to add it within one or two weeks.

Thank you.
vinhnguyen93
Posts: 4
Joined: Tue Oct 25, 2016 8:26 am

Re: NO DATA when export to XML

Post by vinhnguyen93 »

Thanks for your reply, please let me know when there is solution for this. Hope to hear from you soon.
Thanks,
Vinh Nguyen
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: NO DATA when export to XML

Post by Alex K. »

Hello,

Ok. We will let you know when the solution is available.
Post Reply