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

AJAX in cognos Report Studio

Started by vjaggrawal, 22 Jun 2010 04:35:17 PM

Previous topic - Next topic

vjaggrawal

Hi guys,

I have to create a cognos report which uses ajax to call another report.
For example
Requirement:
I have a report at product line level and another report at product type level.
The user requirement is whenever he click on product type
it should display its product line in subsequent rows..

What i have implemented so far:
I have created main report with product line and a child report with product type.
using javascript i am calling child report using URL and AJAX, whenever user clicks on a product type.
The child report executes in Background and give me the HTML output.
then i parse the HTML text to get rows and paste those rows in my main report using javascript.

ISSUE: Wen i execute child report in back ground i am expecting some HTML code with the grid for my child report
but at time cognos is not returning me the complete HTML code for the child report. I gives some javascript function which is again next to impossible to understand and decode.

If anyone has implemented this or has any knowledge about how cognos renders the HTML page, Please share..

Thanks in Advance.
Vijay ....