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访问的报表样式为

  • 相关阅读:
    java的运行机制及初步相关配置(jdk)
    观察者模式
    Shiro的 rememberMe 功能使用指导(为什么rememberMe设置了没作用?)
    MyBatis—实现关联表查询
    Mybatis解决字段名与实体类属性名不相同的冲突
    Mybatis简化sql书写,别名的使用
    十八.模块
    十七.偏函数
    十六.装饰器
    十五.匿名函数
  • 原文地址:https://www.cnblogs.com/wxjnew/p/6928811.html
Copyright © 2011-2022 走看看