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知识点总结
    Eclipse使用中遇到的问题及解决
    Ubuntu--64位系统安装32位的库
    Ubuntu--防火墙的使用
    Ubuntu--手动配置IP地址,网关,DNS
    tcp echo_server
    模板类继承-成员变量不可访问的问题
    brpc channel -负载均衡-NamingService三者之间的关系
    头文件依赖顺序风格
    brpc namingservice的调用栈
  • 原文地址:https://www.cnblogs.com/wxjnew/p/6928811.html
Copyright © 2011-2022 走看看