COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: Blue on 11 Aug 2017 12:57:24 AM

Title: How can a user re-run a report and select new prompt values?
Post by: Blue on 11 Aug 2017 12:57:24 AM
Hey guys.
I built a report with a prompt page and main page. When the user hits Finish on the prompt page they see the report. But how can they re-run the report to go back to the prompt page?
In CBI 10 there was an option in the tool bar for a user to re-run/re-prompt a report. I don't see the same thing in CA11.0.4.

Teach me o great gurus.

Title: Re: How can a user re-run a report and select new prompt values?
Post by: dougp on 11 Aug 2017 02:16:03 PM
That depends.
What version of Cognos are you using?
What is the run with full interactivity property set to?

In 11.0.4, this is the behavior:
If run with full interactivity is No, click on Reset prompts and run.
If run with full interactivity is Yes, close the report and run it again.
Title: Re: How can a user re-run a report and select new prompt values?
Post by: Blue on 14 Aug 2017 01:14:27 AM
Thanks Doug. The client is not going to be happy when I tell them that. We are using full interactivity as they want to be able to dynamically sort on any column header in a list, etc.
I tried a REPROMPT button that that didn't work. I could create something using JS and a Custom Control perhaps.

Title: Re: How can a user re-run a report and select new prompt values?
Post by: Blue on 14 Aug 2017 01:16:17 AM
I just thought of a way, maybe.
Create a button object on the page header and do a drill-through to itself.
Title: Re: How can a user re-run a report and select new prompt values? SOLVED
Post by: rteruyas on 16 Aug 2017 09:16:17 AM
Hey Blue,

Add a prompt button to the page and set property type = "back"

That should allow you to go back to prompt page after showing results.
No need to JS or Custom. Good luck!

Btw I've used this in 11.0.6
Title: Re: How can a user re-run a report and select new prompt values?
Post by: Blue on 24 Aug 2017 06:54:43 PM
Cheers mate. That works fine.