It's all about the answers!

Ask a question

Custom BIRT report which invokes Java code

ankur sharma (66212228) | asked Aug 22 '13, 5:58 a.m.
How to design a customer BIRT report design template which can invoke some Java code when running on RTC Server?

3 answers

permanent link
ankur sharma (66212228) | answered Aug 22 '13, 5:59 a.m.

BIRT supports reports to execute Java or JavaScript codes. This post explores how Java code can be invoked by by RTC reports.

To achieve this we need will

  1. Create fragment project to plug-in com. ibm. team .rep orts .ser vice .bir t
  2. Create a feature and then a site project to generate an update site
  3. Deploy the update site to the RTC server
  4. Create a BIRT report template that invokes our code from the fragment project
  5. Deploy and run the report on RTC Server

This blog post discusses it in detail

permanent link
vijayakumar ramesh (1173862) | answered Jul 23 '15, 7:12 a.m.
@ankur sharma

I  followed what is shown in the link but I am getting error like below

permanent link
vijayakumar ramesh (1173862) | answered Jul 23 '15, 7:17 a.m.
Die folgenden Elemente enthalten Fehler:

ReportDesign (ID = 1):
+ Bei der Auswertung des Scripts "importPackage(;
index = 0;
var myJavaObj = new;
data = myJavaObj.getWITypes();" sind Fehler aufgetreten: 
+ Bei der Auswertung des Scripts "if(index < data.length){
    row["WI_TYPES_FROM_JAVA"] = data[index];
    return true;
return false;" sind Fehler aufgetreten: 
+ Data Set script method "Fetch" returned null; expected a Boolean value.

Your answer

Register or 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.