Search code examples
crystal-reportsbusiness-objectsbusiness-objects-sdk

Disable the logo, refresh and export icon in CrystalReports BI 4.1


I am trying to disable the logo, refresh and export icon in CrystalReports.

To achieve this, I tried with the following options

In BOE.ear/BOE.war/WEB-INF/eclipse/plugins/webpath.CrystalReports/web/WEB-INF/web.xml added below entries

<context-param> 
<param-name>viewrpt.export</param-name> 
<param-value>false</param-value> 
<description>Set whether a export button will be shown</description> 
</context-param> 

<context-param> 
<param-name>viewrpt.logo</param-name> 
<param-value>false</param-value> 
<description>Set whether a logo will be shown</description> 
</context-param> 

<context-param> 
<param-name>viewrpt.refresh</param-name> 
<param-value>false</param-value> 
<description>Set whether a refresh button will be shown</description> 
</context-param> 

But this is not working. Any expert advice would be helpful. Thanks.


Solution

  • By default, BI4 will use precompiled JSP files and will ignore any changes you make to the code.

    If you want to make these unsupported changes, first locate the file global.properties in the folder WEB-INF/internal in the BOE.war archive. Look for the property precompiled.jsp.files.use and change it from true to false.

    Next, redeploy the BOE webapp on your application server. Your changes should now be applied.