COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: oscarca on 10 Oct 2019 04:08:35 AM

Title: Javascript to pass prompt value to another prompt
Post by: oscarca on 10 Oct 2019 04:08:35 AM
Hello cognoise,

Are there anyone here that has created a JavaScript that can pass prompt value to another prompt ? Lets say I have two value prompts with the same data/selections and if I want to choose the same value in both prompts there should  be an button/check box that can be clicked to populate the second prompt with the selection you made in the first prompt instead of having to scroll/ look for the value again in the second prompt.
Title: Re: Javascript to pass prompt value to another prompt
Post by: BigChris on 10 Oct 2019 04:42:52 AM
Isn't that just a drill through?
Title: Re: Javascript to pass prompt value to another prompt
Post by: oscarca on 10 Oct 2019 08:45:09 AM
Hello BigChris,
Thanks for your reply!

Well not exactly unless you can do it with i drill through definition which I doubt.. Lets say have two search prompts and you want to find the same value in both of the prompts. Instead of having to search in the second prompt, you can just match the second prompt with the value from the first prompt.
Title: Re: Javascript to pass prompt value to another prompt
Post by: Francis aka khayman on 10 Oct 2019 10:59:27 AM
sounds like a mutant cascading prompt