Oracle BIEE 图形展示从FLASH变更为HTML5

最近,负责BI的同事反馈给我一个问题,说从2020年以后,Chrome将不再支持Flash,但是目前BIEE上的图表均是使用Flash的模式进行展示的,他们担心Chrome的这项政策是否会影响到2020年以后BIEE的正常展示(原话是万一翻个年过去大领导一看BI图表全都展现不了了,那就嗝屁了w(゚Д゚)w)。

我们来分析分析这个问题。

2007年,苹果推出第一款iphone时,就明确拒绝在移动设备上支持Flash。之后,苹果陆续推出ipod、iPad等移动产品,也均封杀了Flash。2010年,乔布斯发表公开信,炮轰Flash存在封闭、安全性低、性能差、耗能过大、不符合移动需求、插足于开发者和平台之间等问题。乔布斯说的,基本也就是Flash饱受诟病几个问题

2017年7月26日,Adobe计划将在2020年年底停止更新和发行flash player和停止浏览器插件分发。此后,谷歌的Chrome、微软的Edge,以及Firefox都陆续开始停止支持Flash。

2018年,也就是Adobe宣布放弃Flash Player的一年后,与国内的重橙网络达成合作,推出了特供版的Flash Player,在2020年后继续负责Flash player中国大陆地区的独家官方发行,包括最新版本Flash Player下载、运营和技术维护等服务。

好吧,了解到整个事情的来龙去脉之后,我们其实可以知道,在2020年以后,如果继续使用新版本的Chrome浏览器,那么Flash将无法打开,微软这边是在2020年后使用Flash的功能将默认关闭,可以通过按钮打开它。那么事情其实也就变得明朗了,如果在之后想继续使用新版本的各家浏览器,BIEE中的Flash图表在默认情况下可能无法正常打开,可能也可以通过按钮手动启用它(Chrome应该不行),但是如果继续使用旧版本的浏览器,那么应该是不受影响的。

到这里,完全不谈BIEE,我们也可以得到以下两种解决方案:

1.继续使用旧版本的浏览器

2.部分浏览器支持通过设置重新打开Flash

那么从BIEE的角度上来讲,有没有一种方法直接替换掉用Flash来展示图表的模式呢?其实就Oracle来说,这么重大的更新,它能没有相应的应对措施?我一点都不信,我们去翻翻Metalink上咋说,经过搜索我们还真的找到了相应的文档:

OBIEE: Any Alternative For Flash To Display The Graphs In OBI 11g Reports? (Doc ID 2395923.1)

APPLIES TO:

Business Intelligence Server Enterprise Edition - Version 11.1.1.9.0 to 12.2.1.4.0 [Release 11g to 12g]
Information in this document applies to any platform.

GOAL

On: Oracle Business Intelligence Enterprise Edition

Is ther any alternatives for Flash  to display the Graphs and Charts ?

SOLUTION


Alternative for Flash is HTML 5.


HTML 5 can be used instead of  flash to display the graphs/charts

For that need to add below parameter  in Instanceconfig.xml file.
 

Instanceconfig.xml
----------------------------------------------------------------------

To manually edit the settings that change the display of graphs and gauges:

  1. Open the instanceconfig.xml file for editing, as described in Section 3.6, "Where Are Configuration Files Located?"

  2. Search for the Charts sections, in which you must add the elements that are described in Table 19-4.

  3. Include the elements and their ancestor elements as appropriate, as shown in the following example:

    <ServerInstance>
      <Views>
        <Charts>
         <DefaultWebImageType>html5</DefaultWebImageType>
        </Charts>
      </Views>
    </ServerInstance>
    
  4. Save your changes and close the file.

  5. Restart Oracle Business Intelligence

----------------------------------------------------------------------

HTML 5 has been introduced in 11.1.1.9

Oracle说的是其实它从BIEE 11.1.1.9就引入HTML 5的方案了,它能够通过修改配置文件中的配置项来改变。

那么instanceconfig.xml 在哪里呢?instanceconfig.xml是Oracle BI Presentation Services组件的配置文件,官方给出的路径是在ORACLE_INSTANCE\config\OracleBIPresentationServicesComponent\coreapplication_obipsn这个路径下,实际上在我们的环境里instanceconfig.xml是在这个路径下,发出来供大家参考:ORACLE_INSTANCE/fmw/user_projects/domains/bi/config/fmwconfig/biconfig/OBIPS

找到以下关键字,将 flash 修改为 html5 后重启整个后端

<Views>
    <Charts>
        <DefaultWebImageType>flash</DefaultWebImageType>
    </Charts>
</Views>

这个时候,BIEE的展示模式就从Flash改变为HTML 5了。

是不是很简单,大家赶紧去试试吧,毕竟从长远的角度来看,Flash终将走向末路,HTML 5才是大势,任何妄图逆大势而动的行为,都将被大势所淹没,IE亦然,Flash亦然。

 

参考:

https://support.oracle.com/epmos/faces/DocumentDisplay?id=2395923.1&displayIndex=1&_adf.ctrl-state=13na70fhvv_4&_afrLoop=171276745128739#FIX

https://docs.oracle.com/middleware/11119/biee/BIESG/answersconfigset.htm#CIHIIGJE

https://docs.oracle.com/middleware/11119/biee/BIESG/configsettings.htm#CHDEEJDJ

https://www.zhihu.com/question/382992083/answer/1136831738

 

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值