Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Can BIRT export data only?
jeb54321
<p>We have a web application that we recently converted from Crystal to BIRT.</p><p> </p><p>The existing infrastructure used Crystal for PDF and web format output. </p><p> </p><p>But for the Excel output, we didn't use Crystal. For Excel, we didn't want WYSIWYG. We just wanted to use Excel as an export format to make raw data available to clients for analysis, or for importing to other apps, like Filemaker Pro.</p><p> </p><p>In migrating to BIRT, we've abandoned the POI infrastructure we used for exporting the raw data in simple row and column format.</p><p> </p><p>So I was hoping that perhaps BIRT had a way to help us get back that raw dump capability without too much new coding.</p><p> </p><p>Keep in mind, this is a web app. Clients don't have access to the report designer or other GUI tools - only what we provide in the web app.</p><p> </p><p>So, the Spudsoft and CSV emitters caught my eye. Surely (I thought) CSV can't possibly have any formatting, but in reality, I guess it can. Since in our reports a single data record spans many rows, so too does the Excel or CSV output.</p><p> </p><p>My hope is that I'm so new to BIRT, that I don't know the right things to Google (and I've been Googling ALL DAY).</p><p> </p><p>Are there any shortcuts, features, or plugins that would facilitate dumping raw data in Excel or CSV format in a web app? </p><p> </p><p>It needs to be Excel "compatible", because some of our clients simply want to change sort order, etc. and don't actually import it anywhere.</p><p> </p><p>Could something like the iHub and web-based solution provide this and more to our clients? Sure. But we have a stable of 25 apps, and we're not ready to roll out a new infrastructure that we would have to support (I'm the resident BIRT expert).</p><p> </p><p>Thanks in advance!</p><p> </p><p>Jim</p><p> </p><p>(P.S. I'm on my way out to pick up the "Integrating" book, but I'm hoping this venue might give relief faster)</p><p> </p>
Find more posts tagged with
Comments
jeb54321
<p>So... not even a form letter to welcome the latest BIRT noob?</p><p> </p><p>In the spirit of apologizing instead of getting permission, I've cross-posted this in the Excel forum where perhaps I'll get more traction.</p><p> </p><p>Jim</p>
kclark
<p>I haven't used it but you could take a look at this <a data-ipb='nomediaparse' href='
http://code.google.com/a/eclipselabs.org/p/csv-emitter-birt-plugin/'>csv
emitter</a>, from the sample included it looks like you would need to use some code like this in your application.</p><pre class="_prettyXprint">// Creating CSV Render Option object here.. CSVRenderOption csvOptions = new CSVRenderOption(); String format = CSVRenderOption.OUTPUT_FORMAT_CSV; // Setting up various CSV Render Option before running the task // CSV Render Option to set the output format csvOptions.setOutputFormat(format); // CSV Render Option to specify the output directory and file csvOptions.setOutputFileName("reports/csvTest.csv"); // CSV Render Option to set if Data Type of column need to be rendered in second row of output csvOptions.setShowDatatypeInSecondRow(true); // CSV Render Option to Render a Table by Name csvOptions.setExportTableByName("SecondTable"); // CSV Render Options to specify the delimiter csvOptions.setDelimiter("t");// CSV Render Option to specify the character to be replaced if delmiter appears in actual text csvOptions.setReplaceDelimiterInsideTextWith("-");</pre>