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

Make a text link to a different Active Report page

Started by charlyh, 11 Apr 2016 12:40:22 PM

Previous topic - Next topic

charlyh

Hey guys,

I'm fairly new at Cognos so hopefully this is an easy question, Ive been struggling with it a ton though.

On an active report I'm trying to make a text clickable so when I click it it will send me to another page on the Active Report.

So for example on Report pages I have Page 1, Page 2, etc... I want to make a text that says "Go to page 2" and when I click it it would send me to page 2. Is this possible or am I approaching it the wrong way? Ultimately I want to create a Main Page with an image and some clickable texts or buttons all around it and when you click them it will send you to the corresponding page.

Thanks for your help!

MFGF

Quote from: charlyh on 11 Apr 2016 12:40:22 PM
Hey guys,

I'm fairly new at Cognos so hopefully this is an easy question, Ive been struggling with it a ton though.

On an active report I'm trying to make a text clickable so when I click it it will send me to another page on the Active Report.

So for example on Report pages I have Page 1, Page 2, etc... I want to make a text that says "Go to page 2" and when I click it it would send me to page 2. Is this possible or am I approaching it the wrong way? Ultimately I want to create a Main Page with an image and some clickable texts or buttons all around it and when you click them it will send you to the corresponding page.

Thanks for your help!

Hi,

Stay away from defining multiple report pages in an Active Report (ie using the Page Explorer). Active Reports will only ever render the first page, so there's no point in adding extra pages.

What you need to do here is to bring in a deck and drop it onto your report page. The deck has multiple cards - you can add or remove them as desired. These will exhibit the behaviour (appearance) of moving between pages in a report when you move from one card to another, although in reality you're always on the same page in your report. Name each card as though it was a page - ie Page 1, Page 2 etc

Next you need a control to activate the process of moving from one card to another. If you want text, you can drag in a "Static repeater table" from the toolbox. This will have multiple values - again, you can add or remove them as desired. Change the text item for each value to be "Page 1", "Page 2" etc - matching the names of your cards.

Finally you need to have the static repeater table set a variable and the deck listen to the variable. Click on the "Create a new connection" button for the static repeater table. Make sure the source on the left is the static repeater table and the target on the right is the deck (with the label for each defined as the data item). Make sure the behaviour is Select, and give the variable a nice name - eg vPage

Cheers!

MF.
Meep!

charlyh

Thanks MF, wow I was a little bit lost hehe. Now I'm heading the right direction (I think :P)