Within IBM Maximo® applications, you can view images of items. You may want to enable the display of these dynamic images within your custom reports.
To enable your reports to display dynamic images, new scripting classes are provided which can be used by your report developer to update the report design file. Additionally, to assist the developer in implementing this functionality, a sample report design file and pdf report example are also included.
The display of dynamic images from the IBM Maximo® database in your BIRT custom reports is enabled by performing two updates. First, 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. Then, the Maximo instance also needs to be refreshed with the new script library classes.
Before reviewing the steps below 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
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 unzipping 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.
To report a problem with downloading this entry, contact the IBM ISM Library Administration.
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 and rate this item to provide feedback and questions directly to the content submitter. You can also use the forum or community links under the related product resources to reach the Service Management Connect area for the indicated product.
- This solution is applicable to the IBM® Maximo® 184.108.40.206 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.