COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: tven77 on 08 Apr 2010 03:35:55 AM

Title: Can we conditionally set the usage setting of prompt in report studio?
Post by: tven77 on 08 Apr 2010 03:35:55 AM
Hope you can help me with my problem:

I have three prompts

The first 2 prompts are required and the third is based on the entry on the first prompt. The third prompt is also hidden/shown conditionally.

For instance, if the first prompt has a value of 'A' the third prompt will be set to being 'required' and will be displayed, otherwise it will be set to being 'optional' and hidden.

Hiding and unhiding the prompt is easy, but i got a problem setting the usage setting  of the  third prompt conditionally.

How can I do this?
Title: Re: Can we conditionally set the usage setting of prompt in report studio?
Post by: Gopinath on 08 Apr 2010 09:33:09 AM
this can be easily done using javascript..give a try
Title: Re: Can we conditionally set the usage setting of prompt in report studio?
Post by: tven77 on 11 Apr 2010 09:16:52 PM
Hi Gopinath,

Thanks for your reply. I forgot to mention we are not encourage to use javascripting.
Can we do it in a purely cognos way?

regards,
tven