IBM Support

Maximo Report Images Scripting Classes

News


Abstract

The display of dynamic images from the Maximo® database in your BIRT custom reports is enabled by performing two updates.

Content

The display of dynamic images from the Maximo® database in your BIRT custom reports is enabled by performing two updates. 

1.  The individual report design file is updated.  This is done by the Report Developer in the BIRT Report Design Tool through updates to his environment and to the report file. 

2.  The Maximo instance also needs to be refreshed with the new script library classes.

Before reviewing the steps to enable this functionality, you may want to view a sample report.  You can do this by accessing the sample.pdf file which shows an example of a dynamic image within a report. Follow the steps below to implement this custom functionality:

(1) To enable the display of dynamic images from the Maximo database in your BIRT custom reports, the individual report design files must first be updated.  On the report developer's client machine, follow the steps below to enable this

A. Extract the contents of SampleReportDesignInformation.z file.

B.  Navigate to the location eclipse\plugins\org.eclipse.birt.report.viewer_2.3.2.r232_20090212\birt\WEB-INF\classes\com\ibm\tivoli\maximo\report\script

C.  Rename the existing MxReportDataSet.java and MxReportDataSetImple.java

D.  Copy the updated MxReportDataSet.java and MxReportDataSetImple.java to this same location.  Note:  These report scripting classes may be in future releases in the later part of 2011.

E.  Open the BIRT Report Designer.  Open the sample report design file (sample.rptdesign) to see how the image display is enabled by the insert method getBlob() on MXReportDataSet.java and on MXReportDataSetImpl.java within the fetch method.  

(2)   Finally, you must enable the report to execute correctly from Maximo by extracting applications.7z on the deployed Maximo Instance (Directory). 

A.  After completing this, rebuild and redeploy the maximo ear file.  This will deploy the new scripting classes within your specific Version 7 instance.

Support Information

This package is subject to the terms and conditions displayed upon download.

This download has been prepared and reviewed by IBM. It is offered "AS IS" to existing customers. Support is not provided for this download.

Append a comment to provide feedback and questions.

Maximo Version

IBM Maximo Asset Management

Requirements

This solution is applicable to the IBM® Maximo® 7.1.1.5 and later 7.1.1.x releases, as well as the Maximo 7.5 release.

The solution is reliant on the use of BIRT Reporting 2.3.2 which is used in the releases above.

IBM Products integration works with

IBM Maximo 7.1.1.5 through 7.1.1.x, 7.5.0.0 through 7.5.0.3

Content type

Reporting

Navcode Reference Number

1TW10MA40

Industries applied

Cross Industry

Download Content

sample.pdf

SampleReportDesignInformation.z

Download License

L-JROZ-76D5RH

Last Content Update: June 20, 2011

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 March 2022

UID

ibm15692982