COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: SynexusStuart on 04 Apr 2012 05:43:39 AM

Title: Prompt on Page 2 takes user back to page 1
Post by: SynexusStuart on 04 Apr 2012 05:43:39 AM
hi,

I have a 2 page report which is run in HTML.

Page 1 has some prompts which filter the whole report.

Page 2 has also got a prompt which only affects the data on Page 2. This all works correctly but annoyingly, when the page 2 prompt is used, the report runs and shows page 1 again, can you set the prompt to stay on Page 2?

Stuart
Title: Prompt on Page 2 takes user back to page 1
Post by: MFGF on 04 Apr 2012 04:15:01 PM
You would need to enable conditional rendering of the first page based on a value being set in the parameter of the prompt on the second page. Messy, but probably doable.

MF.


Sent from my iPad using Tapatalk HD
Title: Re: Prompt on Page 2 takes user back to page 1
Post by: barrysaab on 05 Apr 2012 05:29:40 AM
Thanks,MF. Could you please eloborate.
Title: Re: Prompt on Page 2 takes user back to page 1
Post by: MFGF on 05 Apr 2012 08:08:34 AM
Use the technique for rendering pages outlined in this post:

http://www.cognoise.com/community/index.php/topic,18895.msg55979.html#msg55979

Regards,

MF.
Title: Re: Prompt on Page 2 takes user back to page 1
Post by: SynexusStuart on 11 Apr 2012 04:48:06 AM
Thanks MF. I decided to use similar principle of single page with conditional blocks as nobody wanted both pages at the same time.

Cheers
Stuart