0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Cognos Analytics でレポートやダッシュボードを自分の好きなURLで実行する

Posted at

レポートやダッシュボードを好きなURLで実行する

これは覚えておくと、いつかどこかで役に立つかも知れません。
こんな感じに、レポートを呼び出すURLを、自分の好きな独自のURLで呼び出す方法です。
003.PNG

ただし、IHSやIISで実装する、Optional Gatewayの環境じゃないとダメなようです。
つまり、http://CognosHost/ibmcognos みたいな、80番ポートでアクセスする環境ですね。

実装方法

URL呼び出ししたいレポートやダッシュボードのエントリで、「・・・」から「共有」を開き、下の組み込みコードの方で「コピー」します。
001.PNG

メモ帳等にコピーしたURLを貼り付けて、width、heightを適当に調整して保存。
002.PNG

保存したファイルを、Cognosサーバー上の<CognosInstall>\webcontent配下に好きなディレクトリを作成して保存します。
今回は、webcontentの下にreports01というディレクトリを作成して、その下に「Nebraska」というファイル名で置いてます。※.txt拡張子は外しました

ブラウザで以下のURLを入力すると、レポートが呼び出されます。
http://CognosHost/ibmcognos/reports01/Nebraska
003.PNG

ダッシュボードでも行けました。
004.PNG

これちょっと使えるかもですね。

元ネタ

How to create custom URL for Cognos Report/Dashboard
https://community.ibm.com/community/user/businessanalytics/blogs/dinesh-k-dhiman1/2020/06/11/how-to-create-custom-url-for-your-cognos-report?CommunityKey=6b10df83-0b3c-4f92-8b1f-1fd80d0e7e58&tab=recentcommunityblogsdashboard

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?