COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: t0mato on 31 Aug 2021 12:24:52 PM

Title: Running a Single Page from A MultiPage Report
Post by: t0mato on 31 Aug 2021 12:24:52 PM
When working with a multi-page report, does anyone know if you can disable/enable certain pages from executing when run, for testing purposes? Similar to how you can enable/disable queries...

Ex: I have a 3 page report, I've added a 4th page and instead of running pages 1-3 (since they have a lot of data and take a long time to run), I just want to see how page 4 outputs and would like to run that. Is that possible?
Title: Re: Running a Single Page from A MultiPage Report
Post by: CognosPaul on 01 Sep 2021 01:57:07 AM
As of 11.1.something if you select the page object you can run it. Click anywhere on the page, then click on the ancestor button and select the page object (parent of page body). The context toolbar will then have a run button.
Title: Re: Running a Single Page from A MultiPage Report
Post by: t0mato on 01 Sep 2021 12:12:18 PM
Quote from: CognosPaul on 01 Sep 2021 01:57:07 AM
As of 11.1.something if you select the page object you can run it. Click anywhere on the page, then click on the ancestor button and select the page object (parent of page body). The context toolbar will then have a run button.

This works! Thank you!
Title: Re: Running a Single Page from A MultiPage Report
Post by: Penny on 02 Sep 2021 12:55:09 PM
We use a boolean variable where the default value is 1=0 or false.  We use that as a page render variable, and when developing the report simply change the value of the variable to be true to see all pages.
Some reports we include an audit page where we prompt to see if the user wants to include it in the output or not.
We do the same thing with a 'documentation page' that is in the report and available for authors but not displayed in the output.