在CrystalReports BI 4.1中禁用徽标,刷新和导出图标 [英] Disable the logo, refresh and export icon in CrystalReports BI 4.1

查看:376
本文介绍了在CrystalReports BI 4.1中禁用徽标,刷新和导出图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在CrystalReports中禁用标志,刷新和导出图标。



为此,我尝试了以下选项:



在BOE.ear / BOE.war / WEB -INF / eclipse / plugins / webpath.CrystalReports / web / WEB-INF / web.xml
下面添加条目

 < context-param> 
< param-name> viewrpt.export< / param-name>
< param-value> false< / param-value>
< description>设置是否显示导出按钮< / description>
< / context-param>

< context-param>
< param-name> viewrpt.logo< / param-name>
< param-value> false< / param-value>
< description>设置是否显示徽标< / description>
< / context-param>

< context-param>
< param-name> viewrpt.refresh< / param-name>
< param-value> false< / param-value>
< description>设置是否显示刷新按钮< / description>
< / context-param>

但这不工作。任何专家的意见将是有益的。感谢。

解决方案

默认情况下,BI4将使用预编译的JSP文件,并将忽略对代码所做的任何更改。 >

如果您要进行这些不支持的更改,请首先找到 global.properties BOE.war 存档中的文件夹 WEB-INF / internal 查找属性 precompiled.jsp.files.use ,并将其从 true 更改为 false



接下来,在您的应用程序服务器上重新部署BOE webapp。您的更改现在应该应用。


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.

解决方案

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.

这篇关于在CrystalReports BI 4.1中禁用徽标,刷新和导出图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆