COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: okh310 on 30 Jun 2016 04:05:50 PM

Title: Report URL - how to create URL for multi page report
Post by: okh310 on 30 Jun 2016 04:05:50 PM
Hello!

I have a report with multiple pages/tabs.  I am trying to implement dynamic sorting in which I need to create an HTML item with my reports URL.  I have to add this URL on each page of my report.  It looks something like this:

cognosisapi.dll?b_action=cognosViewer&ui.action=run&ui.object=%2fcontent%2ffolder%5b%40name%3d%27Schedule%20Reports%27%5d%2freport%5b%40name%3d%27S1%3a%20Monitoring%20Report%27%5d&ui.name=S1%3a%20Monitoring%20Report&run.outputFormat=&run.prompt=true

The issue is, if I am on the second page of my report, I want my URL to execute but point me to the second page of my report.  It's re-running the report but automatically placing me on the first page of the report. 

Does anyone know how to specify the current tab/page in the URL?
Title: Re: Report URL - how to create URL for multi page report
Post by: marre on 01 Jul 2016 02:19:25 AM
Hello,

I have not done this myself, but one area you could look at is creating a new technical parameter that will drive a variable. Set the variable to drive your pages via 'render variable'. You can then pass the paramater value via the url to hopefully display the correct page.

Good luck