If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Custom Control and HTTP Post

Started by airbin, 22 Aug 2018 04:34:46 AM

Previous topic - Next topic

airbin

Hi all

When drilling from and interactive report to a non-interactive report by a normal drill through it opens the target report in a new window which is not what we are after. So in order to get around that I'm thinking of creating a link (URL) to the target report and thereby open it in the same tab. The source (interactive) report will not be available in the top center drop down of the Cognos interface, but that is fine.

Since the source report is an interactive report I have created a Custom Control that generates the URL correctly by getting all parameter values and adding those to the url. The format used for the parameters is JSON.

But here comes the issue. The link quite quickly becomes over 2000characters which is the limit for URL's in IE (size is mostly due to sending a quite a few MUN's).

According to this document https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.wig_cr.doc/c_wig_cr_create_custom_url.html we can use HTTP Post method to send options to the Cognos Analytics Server. Using HTTP Post would solve our issue since there is no limit to the amount of characters to send.


I have failed manage this to work. Can anyone provide a simple sample on how to run a report by sending a HTTP Post request using a Custom Control

Thanks in advance

Robl

Obvious Question;

In the drill through are you sure you have unchecked the box for "Open in new window"?