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

Navigation via report buttons?

Started by nhef, 12 Jun 2006 12:52:59 PM

Previous topic - Next topic

nhef

Hi.  We have many reports that are embedded several folder levels deep.  If the user enters the data on the prompt page and gets to the report, it seems like you're only choice for navigation to return to the prompt page (re-prompt button) or the back button.  but the user may want to return to the folder level where they started, or up 1 or 2 more folder levels.  It was suggested by a cognos consultant that you may be able to redirect using URL's, but not wanting to hard code urls on the page, how would you accomplish this?  How would the report know how to travel back up the folder path to various levels?

Thanks.
Nancy

bdybldr

Nancy,
You can embed within HTML items buttons in the report with values and onClick() event handlers based on where the user wants to be returnedusing JavaScript.

btn.onClick = "document.location = [page to navigate to]"  OR

onClick="history.go(-2)"