COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: dipesh_mistry on 19 Sep 2007 05:43:15 AM

Title: Hiding url when running reports from ASP application
Post by: dipesh_mistry on 19 Sep 2007 05:43:15 AM
Hi All,
I have an requirement of running the reports from an ASP application when clicking on a link in ASP application. But while doing so the url of the reports also gets visible which I want to avoid.
Anybody has the workaround for this.

Thanx in Advance :-)

Regards,
dipsy
Title: Re: Hiding url when running reports from ASP application
Post by: larsonr on 19 Sep 2007 09:14:39 PM
Technically a url in an web application can be found by viewing the source of the page.

How far do you want to go to hide it from the user?  The easiest way if you aren't concerned by the url in the source would be to remove the status bar, address bar, etc.. from your browser pane.  There actually was an article in the Support archives that shows how to have your entire Cognos environment remove certain aspects of a window if you wish to pursue a total annihilation.

I have never written in ASP, but the only other way I can think of is that you somehow would have to be able to construct the URL on the server side or crazily client side if you are truly trying to hide this from the user. Who knows, maybe cognoslaunch.js may be able to help you.  This javascript should be located under the webcontent folder of your cognos installation.  It is used by passing it parameters that will essentially load a report.  I have only used it from within Cognos but it may serve a purpose here.

Other options may be to somehow expose a Cognos navigator to your application.  An example of this is integration with sharepoint.  You can load an RSS feed of reports in a folder,package,etc.. to Sharepoint that I think uses the relative ID's in Cognos, avoiding the easily understandable URLs.  these are just some thoughts that hopefully may spark some other's.