COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: suhas_bhat on 01 Sep 2010 12:31:54 AM

Title: How to make prompt page dynamic??
Post by: suhas_bhat on 01 Sep 2010 12:31:54 AM
Hi all,
  Is it possible to dynamically generate the prompt page based on the number of values in the value prompt?
If the value prompt has only 1 value i would like to skip the prompt page and go directly to the report page, if there is more than 1 value, then the user is prompted to select one.
Any suggestions??

Title: Re: How to make prompt page dynamic??
Post by: Gopinath on 01 Sep 2010 06:56:27 AM
Take the count of prompt values and conditionally render the prompt page if the count is > 1
set the prompt as optional
Title: Re: How to make prompt page dynamic??
Post by: suhas_bhat on 02 Sep 2010 06:13:17 AM
Thank you, will try this out.