Author Topic: Cognos Report Integration using iframes  (Read 1754 times)

Offline gauravd20

  • Full Member
  • ***
  • Posts: 21
  • Forum Citizenship: +0/-0
Cognos Report Integration using iframes
« on: 29 Apr 2010 01:36:29 pm »
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
« Last Edit: 29 Apr 2010 01:40:41 pm by gauravd20 »

Offline cog237

  • Associate
  • **
  • Posts: 1
  • Forum Citizenship: +0/-0
Re: Cognos Report Integration using iframes
« Reply #1 on: 03 Dec 2010 02:26:42 am »
Hi Guarav i have the same requirement can you please give me your suggesion
i really need your help

Offline bpetty

  • Full Member
  • ***
  • Posts: 20
  • Forum Citizenship: +0/-0
Re: Cognos Report Integration using iframes
« Reply #2 on: 08 Nov 2011 01:31:40 am »
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.