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訪問的報表樣式為

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM