IBM Support

Default BIRT Report Output to PDF

Question & Answer


Question

In Maximo 7.5, is it possible to default a BIRT Report output to PDF and skip the HTML display page?

Answer

Yes. However, it is important to note that this change is not officially supported by IBM.

Steps:

1) Create a backup copy of the original openreport.jsp file located in the directory below:

<maximo_home>\maximo\applications\maximo\maximouiweb\webmodule\webclient\common

** NOTE ** : In 7.5 versions previous to 7.5.0.3, the file you need to edit is reportrunner.jsp.

2) Open the openreport.jsp in a text editor
3) Hit enter at the end of Line 16 and add the following entry on Line 17:

String redir = reportParams.get("redir")+"&__format=pdf";

4) Edit Line 30 to look like the entry below:

<form name="reportForm" id="reportForm" action="<%=redir%>" method="post">

5) Save the file and rebuild/redeploy your Maximo EAR file
6) Test by running a BIRT report

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

Document Information

Modified date:
17 June 2018

UID

swg21699733