Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use AJAX in cognos report studio

Status
Not open for further replies.

vijaykAggrrawal

IS-IT--Management
Jun 17, 2010
1
US
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 ....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top