Home
Analytics
Generating BIRT Reports in batch mode
suneetshah
Hello,
I am new to BIRT. I have developed several reports using BIRT. Is there a way that I can call the reporting engine from my application and have these reports generated in the background as pdf files so that the user can view then at a later point as pdfs? Is so, could you direct me to some docs or an example?
thanks
Find more posts tagged with
Comments
JasonW
Yes you can do this. Is your app written in Java? if so take a look at this example:
http://wiki.eclipse.org/Simple_Execute_(BIRT)_2.1
Just remember to only start the platform once and only create one engine. Then use a new task for each report. You can look at these docs on the engine:
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php
The runtime download also contains a .bat( or .sh) file to run reports from the command line.
Jason
suneetshah
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="70286" data-time="1289593922" data-date="12 November 2010 - 01:32 PM"><p>
Yes you can do this. Is your app written in Java? if so take a look at this example:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/Simple_Execute_(BIRT)_2.1'>http://wiki.eclipse.org/Simple_Execute_(BIRT)_2.1</a>
; Just remember to only start the platform once and only create one engine. Then use a new task for each report. You can look at these docs on the engine:<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php'>http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php</a><br
/>
<br />
The runtime download also contains a .bat( or .sh) file to run reports from the command line.<br />
<br />
Jason<br /></p></blockquote>
suneetshah
Thanks Jason.
Yes the app is in Java. I will go through these links
itguy18
HI, I am looking to generate almost a million+ reports from actuate, Is there a command line interface to do this, Also if there is a programing API (VB preferred) please let me know <br />
<br />
<br />
Thanks <br />
new bee <br />
<br />
<blockquote class='ipsBlockquote' data-author="'JasonW'" data-cid="70286" data-time="1289593922" data-date="12 November 2010 - 01:32 PM"><p>
Yes you can do this. Is your app written in Java? if so take a look at this example:<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/Simple_Execute_(BIRT)_2.1'>http://wiki.eclipse.org/Simple_Execute_(BIRT)_2.1</a>
; Just remember to only start the platform once and only create one engine. Then use a new task for each report. You can look at these docs on the engine:<br />
<a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php'>http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php</a><br
/>
<br />
The runtime download also contains a .bat( or .sh) file to run reports from the command line.<br />
<br />
Jason<br /></p></blockquote>