BIRT Report Development in Maximo 7
BIRT Report Development in Maximo 7
Overview:
This document for the audience who are very new to BIRT, it explains about how to setup
BIRT environment, how create and configure new workspace and how to develop BIRT reports for
Maximo 7
System requirements:
1. BIRTDesigner212
2. Java SDK 1.5
3. Standard Maximo 7 BIRT reports, Libraries and Templates
4. iText Jar
I. Run Install
Click “Next” in all installation phases to get default installation of BIRT 2.1.2
C:\Program Files\IBM\BIRTDesigner212
Navigate to the following location and copy iText.jar (this is get PDF preview)
C:\Program Files\IBM\BIRTDesigner212\eclipse\plugins
maximoDataSource.url=jdbc:oracle:thin:@<HOST IP>:1521:MAXIMO
maximoDataSource.driver=oracle.jdbc.driver.OracleDriver
maximoDataSource.username=maximo
maximoDataSource.password=maximo
maximoDataSource.schemaowner=maximo
C:\Program
Files\IBM\BIRTDesigner212\eclipse\plugins\org.eclipse.birt.report.viewer_2.1.2.v20
070205-1728\birt\WEB-INF\lib
Note: we can get the JDBC deriver from Database installation folder also.
Note: the above example points to jdk1.5 which is installed in local machine, you have to
change that jdk1.5 path according to your jdk1.5 installation.
Click ok
The following steps explains how to create workspace for Maximo reports , create
new BIRT report project, configure Maximo 7 standard Templates and Libraries,
Import Maximo 7 standard reports to your workspace.
I. Creating Workspace:
Click on next
Go to Window Preferences
Expand “Report Design” from left hand side tree view
Select “Resource” and provide the path for Maximo standard BIRT library folder (i.e. “C:\Maximo
714\reports\birt\libraries” in the above example) and click “Apply”
From “Import” window expand “General” and select “File System” click next.
Now we can open the Maximo BIRT standard reports in BIRT designer by clicking on the particular
report
Note: selected report opens up in “Layout” tab, if the Layout tab is not selected just click on Layout
tab to see report design.
I. Select Template:
Select the parent folder then the COMPANY Folder. And provide a name for the report (i.e.
“company_report.rptdesign” in this example) then Click Next.
Note: The BIRT Report Designer does not verify your sql statements – so make sure that your sql
should run properly
Create all output columns by double clicking on the data set name. Select “Output Columns” on
the “Edit Data Set” Dialog.
Enter names and Data types. The Data Types can be retrieved from maxattribute
Use the following sql to get the Data Types
Change the report title (as per specification) by double clicking on that particular label and type
the title text.
Add the data fields to the report. By drag and drop From the Dataset (in “Data” view, expand
the data set. Drag and drop the fields to the layout) in detail row.
V. Preview:
Finally, click the “Preview” tab. Since no parameters have been specified, only the two default
report parameters show. Leave the where parameters as it is, and enter COMPANY for the
appname.
To view the out put of Report in PDF, click in BIRT designer and
select “View report as PDF”