csv on the fly

vladimir
edited February 11, 2022 in Analytics #1
hi

i've been looking for this for so long, and i still can't figure out. how can make csv on the fly from my birt design report?

what i want: i already have a custom html form on wich a can generate PDF from birt-viewer. i want the same thing, but with csv.

thanks in advance.

using :
- birt 2.2.1
- ubuntu 7.10
- php 5.2
- tomcat 6
- java 6

Comments

  • mwilliams
    edited December 31, 1969 #2
    Hi Vladimir,

    Not sure if this is exactly what you're looking for, but you can export report data to a CSV file through the BIRT Report Viewer by clicking on the Export Data button. Also, there is an example on how to create a CSV report rendering extension in the book, "Integrating and Extending BIRT (The Eclipse Series)," which can be found on Amazon.com.

    Regards,

    Michael
    Warning No formatter is installed for the format ipb
  • chalia
    edited December 31, 1969 #3
    Hi, mwilliams <br />
    <br />
    I have tried successfully use the CSV emitter in Birt Designer. Is there any way to deploy that on Birt Web Viewer, so that the output can be CSV files by run command like following:<br />
    <br />
    <a class='bbc_url' href='http://localhost:8080/run?__report=sample.rptdesign&_format=csv'>http://localhost:8080/run?__report=sample.rptdesign&_format=csv</a><br />
    <br />
    Kind Regards<br />
    <br />
    Charlie
  • mwilliams
    edited December 31, 1969 #4
    Hi Charlie,

    As long as you have the CSV emitter plugged into the BIRT web viewer, that should work.

    Regards,

    Michael
    Warning No formatter is installed for the format ipb