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 you publish a file to a drive instead of a folder? (v8)
eomei
I'm trying to publish a simple text file to a shared drive so that it can be picked up by an automated process and moved to a download server where it can be ftp'd. Is there a way to publish the file to a drive instead of a folder? Any ideas?
Find more posts tagged with
Comments
Virgil Dodson
Hi eomei,
Are you trying to use BIRT to create a text file or use a text file as a BIRT data source?
eomei
<blockquote class='ipsBlockquote' data-author="vdodson"><p>Hi eomei,<br />
<br />
Are you trying to use BIRT to create a text file or use a text file as a BIRT data source?</p></blockquote>
Hi Virgil,<br />
The data is pulled into BIRT from a stored proc. I need to send it out as a text file so it can be ftp'd. The data is just 5 columns with a delimited pipe separating each column (example: 06310015 |LEUKOVORIN CALCIUM INJ, 50 MG|271 |OHMC-D| |).<br />
Thanks!
Virgil Dodson
There are a couple of options to get plain text data from BIRT. First of all, the output types can be extended and are called emitters. One option is to create your own plain text (or pipe-delimited) emitter. You can see an example where somone created an XML emitter here:<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/modules/wfdownloads/singlefile.php?cid=2&lid=153'>http://www.birt-exchange.com/modules/wfdownloads/singlefile.php?cid=2&lid=153</a><br
/>
<br />
Another option is to use the Report Engine API to get the data. You can find an example of using the IDataExtractionTask here:<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php#idataextractiontask'>http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php#idataextractiontask</a>
;