Page 1 of 1

NO DATA when export to XML

Posted: Tue Oct 25, 2016 8:52 am
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?

Re: NO DATA when export to XML

Posted: Wed Oct 26, 2016 12:49 am
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.

Re: NO DATA when export to XML

Posted: Wed Oct 26, 2016 4:01 am
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.

Re: NO DATA when export to XML

Posted: Thu Oct 27, 2016 12:20 pm
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.

Re: NO DATA when export to XML

Posted: Thu Oct 27, 2016 1:40 pm
by vinhnguyen93
Thanks for your reply, please let me know when there is solution for this. Hope to hear from you soon.

Re: NO DATA when export to XML

Posted: Thu Oct 27, 2016 2:09 pm
by Alex K.
Hello,

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