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

How to get tree prompt using javascript

Started by ms_michael, 29 Oct 2008 01:33:02 AM

Previous topic - Next topic

ms_michael

Hi all,
   I want use javascript to get tree prompt's select value and listen it's action. How can I get it?
   Thanks.

imts

Why don't u go for the tree prompt provided by the Cognos IDE ? any special reasons for using JS >?

ms_michael

Hi imts,
    Thanks for your reply. I want to get the selection of tree prompt. And I'd like to let tree prompt hide dynamic when I select some level of the tree prompt.

imts

i coudn't understand what u mean by "let tree prompt hide dynamic " !!!
i searched cognos knowledge base for tree prompt using JS but coudnt find anything there.
What i'll suggest u is to make a dimensional model, use the tree prompt given by cognos IDE. U can retrieve the selections made in the tree prompt on report page.

ms_michael

sorry, I think i didn't express my idea clearly enough.  For exmple, when I select a node of tree prompt, it pop-up a message about select value.

pattr

HI am also having the same issue in displaying the tree prompt selected value either  to display in alert box or to store in the variable or  pass it as parameter value.