如何隐藏Cognos Viewer

简介:

BI项目很多时候需要跟Portal做集成,可以将整个BI Portal放到企业门户或者只是存放一些固定的报表。由于Cognos默认运行会带出Cognos Viewer,这样就跟门户不太协调。

SouthEast

有几种办法可以解决这个问题:

1.修改系统XML之间因此Cognos View

2. 修改URL的行为比如

Copy the url of the report (go to Cognos connection-> go to the folder
location of report-> right click on the selected report you want to run-> 
copy shortcut) then paste this url in the new window and at the end of this 
url type *&cv.header=false&cv.toolbar=false*

3. 在报表中使用HTML代码。下面是HTML代码:

10.1中测试成功的:

<style>

#headerBack

{

   display: none;

}

.mainHeader1

{

   display: none;

}

 .mainViewerHeader3

{

   display: none;

}

</style>

10之前的版本:

--Hide cognos viewer

<style>

.topRow

{

display:none;

}

</style>

--Hide cognos viewer

<script>

document.getElementById('CVHeader_NS_').style.display = "none";

document.getElementById('CVToolbar_NS_').style.display = "none";

if(document.getElementById('CVNavLinks_NS_')) {

document.getElementById('CVNavLinks_NS_').style.display = "none";

}

</script>

<script type="text/JavaScript">

window.onload = function()

{

if (document.getElementById("cbarCVToolbar_NS_"))

{

document.getElementById("cbarCVToolbar_NS_").style.displ

ay = 'none';

document.getElementById("CVHeader_NS_").style.display='n

one';

}

}

</script>

 

本文转自 lzf328 51CTO博客,原文链接:http://blog.51cto.com/lzf328/1243721

相关文章
|
4月前
|
定位技术
ArcGIS中各版本ArcMap安装OpenStreetMap编辑工具集插件ArcGIS Editor for OSM
ArcGIS中各版本ArcMap安装OpenStreetMap编辑工具集插件ArcGIS Editor for OSM
|
7月前
|
数据可视化
使用 SAP UI5 3D Viewer 控件显示 3D 模型效果试读版
使用 SAP UI5 3D Viewer 控件显示 3D 模型效果试读版
33 0
|
9月前
Altium Designer中如何隐藏和显示一个网络
Altium Designer中如何隐藏和显示一个网络
333 0
ArcGIS配置OSM数据工具ArcGIS Editor for OSM的方法
本文介绍ArcGIS Editor for OpenStreetMap这一工具集插件的下载与安装方法~
282 1
ArcGIS配置OSM数据工具ArcGIS Editor for OSM的方法
为什么有的S4系统看不到Adapt UI按钮
为什么有的S4系统看不到Adapt UI按钮
为什么有的S4系统看不到Adapt UI按钮
|
C#
在VisualStudio 工具箱中隐藏用户控件
原文:在VisualStudio 工具箱中隐藏用户控件 当我们创建一个用户控件后,VisualStudio会自动将其添加到工具箱中,本来这是一个比较贴心的设计。但是,有的时候,我们并不想将用户控件放到工具箱中。
888 0
|
BI C#
Visual Studio 2017报表RDLC设计器与工具箱中Report Viewer问题
原文:VS2017入门 RDLC入门之01 本系列所有内容为网络收集转载,版权为原作者所有。 VS2017初始安装后和VS2015一样,都没有ReportDesigner/ReportViewer ReportViewer 1.
6509 0
|
BI C# 数据格式
VS2017 处理 Rdlc , microsoft report viewer 轻量级报表处理(WPF CS客户端版本)
原文:VS2017 处理 Rdlc , microsoft report viewer 轻量级报表处理(WPF CS客户端版本) VS 2017没有安装处理Rdlc的包,需要手动安装; 点击主菜单中Tools 下拉菜单中 扩展和升级: 点选左侧Online  ,然后在右侧输入rdlc进行查...
2321 0