If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to "Go To" a page within a report

Started by farmcock, 24 Jan 2014 10:29:20 AM

Previous topic - Next topic

farmcock

I have a simple question that does not seem to be so simple in Cognos. I have a report with two pages in 'Page Explorer', Page1 and Page2. Page1 actually consists of 12 pages of data and Page2 has about 50. Page1 and Page2 are simply the names Cognos gave these items in Page Explorer.

I want the user to be able to easily navigate between the two pages. Page-up & Page-down are too time consuming.

How can I create a hyperlink, value prompt or whatever it may be - that will allow the user to "go to" Page2 or go back to page1 without having to page up and page down through an eternity of pages to their destination? When I say Page, I am referring to what Cognos calls a Page in Page Explorer.
These Pages can actually consist of many pages, but the object called Page in Page Explorer is what I am interested in.

Please help - this should be simple but I can find nothing on it anywhere!?!?!

charon

hi farmcock,

you might be able to direct to the pages directly, maybe with an url and set hyperlink, or with jscript (there are some genius cognos "freaks" in this forum that might post a solution like that ;) im not smart enough for that...instead, i might deliver some work arounds, maybe you might consider on of them.
1) bookmarks -> set bookmarks and an index/ list to jump directly to the page 2 (where you set the bookmark). but: this will work with pdf output format only. if you havent used this feature b4, how you can read how to implement it
https://www-304.ibm.com/support/docview.wss?uid=swg21370630
2) copy and paste the content of page 2 to another report. between reports, drill througs are easy to set.
3) instead of reports, use cognos workspace and or active reports, and instead pages uses tabs.

just a few ideas though...gl and have a nice weekend
cheerz :P

MFGF

Hi,

I assume you're rendering as HTML? If so, and if your users are running the report interactively, it's not the simple challenge you imagine. When a report is run interactively and rendered as HTML, the report will only retrieve enough data to render the first page. This is for efficiency - it only gets what it needs to show you the initial page. When a user hits the "page down" link, they are not simply showing the next pre-rendered page - the Cognos server is fetching the next set of data from the open cursor(s), rendering the page, then disdplaying it. Because of this the report server has no idea how many pages the report has and therefore cannot navigate you to a set point.

Your best bet is to have the report pre-rendered (by running it and saving the output) and using a bookmark object in the report to navigate to the second page defined in the report structure.

Cheers!

MF.
Meep!

adik

you could also try having two separate reports with a text item on which you define a drill-through, that way when you click on like "Page 2" for example it will open in the same window the other report. in the second report have something similar

Lynn

Wouldn't a bookmark or table of contents be an easy solution?

r_aldrich

#5
This is easily accomplished in Cognos 10.2.2   This version of Cognos allows you to display "pages" as tabs when viewing in HTML.
A nice write up can be found here.
https://www.ironsidegroup.com/2011/11/14/ibm-cognos-tabbed-report-design/

https://www.ironsidegroup.com/2015/01/21/tabbed-reports-in-cognos-10-2-2-the-new-easy-way-to-make-clean-consumable-multi-page-reports-2/