COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: gauravd20 on 29 Apr 2010 02:36:29 AM

Title: Cognos Report Integration using iframes
Post by: gauravd20 on 29 Apr 2010 02:36:29 AM
Hi,

I have integrated cognos reports into my Java application. What i did is:
1. Create a HTML IFRAME,
2. With html form having action as a my landing report,
3. Include hidden paramters as CAMNamespace, CAMUsername and CAMPassword.

The report executes successfully most of times without showing the cognos login page, but sometimes it takes me back to the namespace screen. Upon entering the namespace and login credentials still it doesn't work and take me back to the namespace screen. Any idea how to fix this? Is this bacause i am using iframes?

Thanks & Regards,
Gaurav
Title: Re: Cognos Report Integration using iframes
Post by: cog237 on 02 Dec 2010 02:26:42 PM
Hi Guarav i have the same requirement can you please give me your suggesion
i really need your help
Title: Re: Cognos Report Integration using iframes
Post by: bpetty on 07 Nov 2011 01:31:40 PM
I know this is old... but I am bored.

1. I would have your java app push in the CAM Passport into the URL for running the reports.

2. I highly recommend writing a redirection page that you can reference in the backURL parameter.  When they click cancel on a prompt page you don't want them going to the home page.

For anyone else reading this... this might help.