I would like to create reports with XML and some CSV-like plain text output.
The templates for these should be editable by end users via the reporting UI.
Best would be to define a plain text template where i can reference bands and repeat arbitrary sections of text according to the band’s record count.
I figured the jrxml -> CSV option would be fine, but i cannot get rid of the semicolons (and in same cases doublequotes) the system automatically inserts there.
So the template goes like
HeaderLine 1
HeaderLine 2
{field1} {field2}
and the result would be
;HeaderLine1
;HeaderLine2
field1content; field2content;
The semicolons are duplicated for each row in the dataset, so with 2 records i get
;;HeaderLine1 etc…
Just to provide a little feedback, the XML report can be done nicely using the HTML template option.
The only downside is that the framework always uses .html extension for the output, so when executing it from the UI it will automatically open as an html doc in the default browser.
If the extension could be provided in the output field, it would look much less scary to end users.