Jump to content
Changes to the Jaspersoft community edition download ×

Recommended Posts

In JsStudio I have created a report that draws it data from a query with a "...where Location = $P{LocName}" clause. LocName is a string parameter. I export the report to JSServer.

In JS Server I created a Single-Select based Input Control called LocName which is based on a query (select distinct LocationName from tblINput). I used the JS Server Admin document section 4.3 to create the resource. I did it via right-clicking on the repository where I want to store the resource. I can see my newly created input control in the rspective folder. So far so good.

 

Now I want to use the report in a dashboard and select LocName via my input control. Hence I create a new dashboard, pull the report into the dashboard. I now would expect the LocName (single select) to appear under SpecialContents/SingleSelect. However I can not find my input control anywhere. Obviously I am missing a step. Can someone help me?

 

Thanks!

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Problem solved: I found the (or at least A) solution myself:

In JSServer you have to go into the edit report funcitonality, remove the old input control (which was based on the parameter created in Studio) and create a new input control based on the previously created resource.

 

If someone knows a better way of doing that (so that I don't have to delete the old parameter and create a new input control) please chime in!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...