COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Kindness on 29 Mar 2011 06:58:35 AM

Title: How to grab the tree prompt control using Javascript in Cognos 8.4
Post by: Kindness on 29 Mar 2011 06:58:35 AM
Does naybody know how to grab the tree prompt control using Javascript in Cognos 8.4. In the document "Upgrading JavaScript Applications from Cognos ReportNet 1.x and Cognos 8.1/8.2 BI to Cognos 8.3/8.4 BI" have written "Unable to grab the tree prompt control using Javascript in IBM Cognos 8.3". what about Cognos 9.4, does this feature implemented in this version?

Yhanks in advance.
Title: Re: How to grab the tree prompt control using Javascript in Cognos 8.4
Post by: Arsenal on 29 Mar 2011 10:40:50 AM
Am no JS guy, but shouldn't it be window.treepromptboxname where promptboxname = whatever you've named your tree prompt?
Title: Re: How to grab the tree prompt control using Javascript in Cognos 8.4
Post by: AussiePete2011 on 29 Mar 2011 06:50:37 PM
https://www-304.ibm.com/support/docview.wss?uid=swg24021973
https://www-304.ibm.com/support/docview.wss?uid=swg21385585
http://www.spotonsystems.com/spoton-blog/bid/8698/Accessing-Prompt-Controls-in-Cognos-8-4-with-Javascript