默认情况下,出于安全的考虑(clickjacking),BIEE 11g是不能直接嵌入 iframe中的,

会提示“OBIEE content can not be displayed in the IFrame”

    
已Windows server 2003 系统为例:

如果有这方面的需要,我们需要进行如下配置:

 \bihome\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1     目录下的 instanceconfig.xml 配置文件

在Security标签内加入allow

如下所示:

 

<Security> <InIFrameRenderingMode>allow</InIFrameRenderingMode> <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--> <ClientSessionExpireMinutes>30</ClientSessionExpireMinutes> </Security>

 

修改\bihome\Oracle_BI1\bifoundation\web\app\WEB-INF 目录下的web.xml

添加如下内容:

<context-param>  <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>  <param-value>never</param-value></context-param>

 

如下所示:

 

复制代码
<servlet-mapping>    <servlet-name>RelatedContent</servlet-name>    <url-pattern>/RelatedContent</url-pattern></servlet-mapping><context-param>  <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>  <param-value>never</param-value></context-param><login-config>   <auth-method>CLIENT-CERT</auth-method></login-config>
复制代码

 



全部修改完毕之后,重启BI 服务。

注:如果还不行的话,请在清除一下浏览器的缓存。