Adding Single Report Controls for Dashboard

I'm trying to figure out how to add single report controls for a dashboard report. I'm using the sample Freigh Report that comes with JS 3.1 and tried adding some input controls (locally defined) to it. When I tried creating a dashboard for this report, I couldn't find the new input control under the Single Report Controls folder at the Available Content pane.

 

Am I missing some proper steps on how to add a new input control that can be used when creating a new dashboard? The Jasper Server user guide didn't gave much detail on this, so I'm completely clueless.

jojopaderes's picture
Joined: Jul 23 2008 - 9:50am
Last seen: 14 years 10 months ago

5 Answers:

After you add a report to the dashboard, the input controls for the report should appear in the list if they are not named the same as existing controls. If that is not happening, it looks like a bug. What sort of controls were the ones you added?

 

Sherman

Jaspersoft

swood's picture
21767
Joined: Jun 21 2006 - 12:48pm
Last seen: 10 years 7 months ago

Thanks for replying Sherman.

 

I'm using a multi-select input control for the report.

jojopaderes's picture
Joined: Jul 23 2008 - 9:50am
Last seen: 14 years 10 months ago

Hi, we are having the exact same problem with jasperserver 3.1. After reviewing the source code we found out that the problem actually, doesn't appear to be a bug, dashboards do not support multi-value input controls or anything that has a collection data type. We've changed a method in the AdhocHelperImpl class to enable multi-value support, but we are missing something because the parameter still doesn't appear after adding the report that contains it to the dashboard.

Any ideas or help about this would be greatly appreciated.

 

Emanuel

emanuelfpaz's picture
Joined: Dec 16 2008 - 9:42am
Last seen: 14 years 5 months ago

I know this does not help you right now, but multi-select controls in dashboards do work in the 3.7 release coming out in the next few weeks. They also work as a cascading control.

 

 

Sherman

Jaspersoft

swood's picture
21767
Joined: Jun 21 2006 - 12:48pm
Last seen: 10 years 7 months ago

Hi Sherman,

I am facing some what same issue.

I am able to pass input control parameter to individual reports.

But in dashboard the same input control parameters in url does not work at all.

It always displays the default value.

How to pass input control parameters in Jasper dashboard.

One more thing this input control is being used by some other reports in dashboard too.

I want to use same input control value in all the reports in dashboard.

Help me out.Stucked for 3 days.Nor result.

Regards,

Gaurav

 

itsgauravdas's picture
Joined: Dec 10 2010 - 2:51am
Last seen: 12 years 5 months ago
Feedback
randomness