COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mringhof on 26 Sep 2007 05:53:31 AM

Title: Temporarily disable prompt page
Post by: mringhof on 26 Sep 2007 05:53:31 AM
First off, hello everyone  :)

This is my first post so hopefully I'm not asking something dump...

I've been working with ReportNet 1.1 MR2 up until last week and we now switched to Cognos 8 BI. In ReportNet 1.1 I could "disable" a prompt page by disabling all filters that used parameters from the prompt page.
This is not working in Cognos 8 anymore. Is there any way to do this without deleting the page?

Thanks for any hints in advance!

Kind regards,
Mathias

Title: Re: Temporarily disable prompt page
Post by: Suraj on 26 Sep 2007 10:58:35 AM
First, make invisible all the prompts or blocks that contain prompts.
Second, use javascript to select and auto submit the prompts. This way the prompt page will not be visible to the user.
The key is, you have to submit the prompts to skip the page.
Title: Re: Temporarily disable prompt page
Post by: mringhof on 28 Sep 2007 07:22:10 AM
Thanks for the answer, really a bit more complicated than in 1.1  ;)
Title: Re: Temporarily disable prompt page
Post by: globalbear on 01 Oct 2007 02:49:24 AM
You could disable a filter if you select the query in query explorer. Select the filter you want to disable then in the properties pane change usage under general to disabled.
Title: Re: Temporarily disable prompt page
Post by: porkins on 20 Aug 2008 11:12:29 AM
Quote from: Suraj Neupane on 26 Sep 2007 10:58:35 AM
First, make invisible all the prompts or blocks that contain prompts.
Second, use javascript to select and auto submit the prompts. This way the prompt page will not be visible to the user.
The key is, you have to submit the prompts to skip the page.


Can you please provide the javascript?  I'm using a select and search prompt.