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)
Generate a report with Java
evgeny
Hi and thank you for reading,
I would like to generate a report completely from Java. I saw the "genReport" script and it looks like it is calling some java code to generate the report.
How can I write a java class which is taking some parameters into account and generating a report?
I would like to know how to create such a class, which methods are needed, which interfaces need to be implemented, and from where can I call it/where can I place it...
A short example would be very helpful.
Thanks a lot in advance
Evgeny
Find more posts tagged with
Comments
evgeny
I found a solution here:<br />
<br />
<a class='bbc_url' href='
http://wiki.eclipse.org/Separate_Run_and_Render_(BIRT)_2.1'>Separate
Run and Render (BIRT) 2.1 - Eclipsepedia</a><br />
<br />
However, I am still looking on a way to change the parameters of the rapport. <br />
Evgeny
mwilliams
Hi Evgeny,
Can you explain what you mean by change the parameters?
evgeny
I am looking for a way to modify the parameters in a report. I have three data set parameters in my report. Two date parameters and one string, now I would like to write a Java file that generates my report but not with the default parameters, which have been set in the report designer, but with the parameters I set inside of the java program. <br />
<br />
There is an example on how to read the parameters here:<a class='bbc_url' href='
http://wiki.eclipse.org/Parameter_Details_(BIRT)_2.1'>Parameter
Details (BIRT) 2.1 - Eclipsepedia</a><br />
But I couldn't figure out yet how to set this parameters inside of a java class.<br />
<br />
Thanks<br />
<br />
Evgeny