COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cgb on 09 Jul 2017 07:22:49 AM

Title: How to navigate from report page to prompt page 2 at runtime.
Post by: cgb on 09 Jul 2017 07:22:49 AM
I have 2 prompt pages . 1st prompt having mandatory prompt. 2nd having 2 prompts one optional and one mandatory.
When I run the report and see the output on report page, i want a back button or hyperlink to move back to prompt page 2 and it should remember value last selected in prompt page 1.
Title: Re: How to navigate from report page to prompt page 2 at runtime.
Post by: dougp on 10 Jul 2017 10:37:07 AM
Your second requirement is easy.  Cognos remembers parameter values as long as the report is still open.

Have you considered putting the optional prompts on the report page?  That would eliminate the "back button" step, streamlining the experience for the user.  You can conditionally hide them by putting them in a block and using a render variable so that they only appear in HTML output.