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 refresh the prompt page without losing the selected values

Started by borco, 30 Aug 2015 03:53:11 AM

Previous topic - Next topic

borco

Hello,
I'm trying to refresh a prompt page without losing all the choices I've already made (kind of like what happens when hitting the search button on a select& search prompt). The solution I'm using now is to drill to the same report and pass all the parameters values. I'm searching for a more elegant solution. I'm pretty sure it can be solved with JS but I don't know how to do it.
Thanks a lot.
I'm using Cognos 10.2.1 :)

gavich6869

Hi,

This can be done by employing a javascript on the prompt page. You can use .getvalues() when the page loads, on the reprompt store the value and pass to the prompt control on the refresh. Donot use cognos finish function, instead use prompt.action on the javascript.

Thanks
gavich
www.cognos-explained.blogspot.com