zoukankan      html  css  js  c++  java
  • Cognos11中通过URL访问report的设置

    1:以往的cognos版本中在报表的属性中可以找到 url的属性,稍加修改就可以通过URL进行访问了

    2:Cognos11中找了半天也没有报表URL这个属性,但是IBM官方也给出了解决方案

    Answer

    1. Get the ID of the report by viewing the properties of the report and, in the General tab, select Advanced. The storeID appears on the ID field. Capture this value and place into the StoreID section of the URL
    官方的图不能直接看,这里我补充一个图



    2. URLs...

    Dispatcher: 
    http://dispatcher_server:9300/bi/v1/disp?b_action=cognosViewer&run.outputFormat=HTML&run.prompt=true&ui.object=storeID (%22insert_StoreID_here%22)&ui.action=run&cv.header=false&cv.toolbar=false

    3:附上官网链接

    http://www-01.ibm.com/support/docview.wss?uid=swg21983556&myns=swgimgmt&mynp=OCSSTSF6&mync=F&cm_sp=swgimgmt-_-OCSSTSF6-_-F

    4:注意的地方

    http://dispatcher_server:9300/bi/v1/disp?b_action=cognosViewer&run.outputFormat=HTML&run.prompt=true&ui.object=storeID (%22insert_StoreID_here%22)&ui.action=run&cv.header=false&cv.toolbar=false

    上面的连接中只要用报表的存储ID替换掉insert_StoreID_here即可,然后dispatcher_server换成自己的服务器名称或者host_address,如果有授权问题的话请在后面以&的方式添加用户相关参数

    给出一个实例:

    http://king:9300/bi/v1/disp?b_action=cognosViewer&run.outputFormat=HTML&run.prompt=true&ui.object=storeID(%22i67FBA33A1CCC40C5A09A8F109C172B7A%22)&ui.action=run&cv.header=false&cv.toolbar=false&CAMUsername=test&CAMPassword=123456&CAMNamespace=KingUser

    5:通过URL访问的报表样式为

  • 相关阅读:
    JavaScript之DOM
    MapReduce多种join实现实例分析(一)
    JavaScript的文档对象模型DOM
    JavaScript原生实现观察者模式
    Idea环境下git 图形化操作
    一分钟教你如何实现唯美的文字描边
    Redis集群
    JAVA线程池的实际运用
    Java 线程池(ThreadPoolExecutor)原理解析
    win7开始菜单路径
  • 原文地址:https://www.cnblogs.com/wxjnew/p/6928811.html
Copyright © 2011-2022 走看看