COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: patrickthatcher on 14 Feb 2016 09:21:59 AM

Title: Optional Prompt displays prompt in report view only
Post by: patrickthatcher on 14 Feb 2016 09:21:59 AM
I have a prompt page that contains an optional prompt that works as expected when running the report directly. However, if we create a report view on the report and do not set this optional prompt, the default prompt page is display for the optional prompt. If we click the OK button without selecting anything, the report does render as expected.
How can I figure out that is causing the prompt to display?

Thank you
Title: Re: Optional Prompt displays prompt in report view only
Post by: patrickthatcher on 15 Feb 2016 10:55:38 AM
A little more information I discovered:  The optional prompt only displays when setting the prompt values from Properties -> Report View -> prompt values
Title: Re: Optional Prompt displays prompt in report view only - SOLVED
Post by: patrickthatcher on 16 Feb 2016 04:02:38 PM
Figured out the issue.  We have multiple report sheets within this report and are also utilizing cascading prompts that are being rendered depending on what previous prompts are selected.  By changing the prompts blocks from Render Variable to Style Variable and setting the box type = None, the unused prompts are not removed but instead hidden.  This keeps the parameters available to be checked.