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

谁说胖子不能爱 提交于 2019-12-25 03:42:10

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/29767344/disable-the-logo-refresh-and-export-icon-in-crystalreports-bi-4-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!