Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

programmatic report pdf creation

Hello i'm wondering if there is a way to export a existing report programmatically to pdf.

So thats how i would like to do it.
I'm using a plugin that runs as service task on the jazz server. So every 24h this service will be called. Now i would like to integrate the functionality to export a existing birt report to a folder onto the jazz server, for example to a pdf type.

Do you offer a interface in your api to access the birt functionality?

0 votes



3 answers

Permanent link
The Jazz Team Server, includes the BIRT reporting engine which could be used to programmatically generate pdf.

0 votes


Permanent link
thank you for the answer of my post, i'm wondering if you are using a special method on the reports to access the birt functionallity to export existing reports

0 votes


Permanent link
rkelkenb wrote:
thank you for the answer of my post, i'm wondering if you are using a
special method on the reports to access the birt functionallity to
export existing reports


Please note that what I'm describing to you isn't committed API - that
is, it could change in future versions.

Having said that, we do this today and I'll describe how we do it. Take
a look at the class IReportViewerService. It's a servlet that you can
call which returns a rendered report in some format. At the top of
ReportViewerService are some parameters which you could use to specify
pdf output. (Specifically, append "&__format=pdf" to the URL). You'll
also need to pass the __reportUUID or __queryUUID (depending on whether
you're passing an IReportDescriptor or an IReportQueryDescriptor,
respectively). If you're passing an IReportDescriptor, you'll also need
to pass any parameter name/value pairs. __projectAreaUUID is also
mandatory. The service will give you back a stream of bytes with the
content type of "application/pdf".

Hope this gets you started, let me know if you have any questions.

james

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Oct 28 '08, 7:06 a.m.

Question was seen: 6,264 times

Last updated: Oct 28 '08, 7:06 a.m.

Confirmation Cancel Confirm