Jump to content
Changes to the Jaspersoft community edition download ×

Input Controls are not working!


Recommended Posts

Hello,

Input controls are not working in Jasper Server after publishing the reports from jasperstudio.

JasperServer : jasperreports-server-cp-6.4.0-bin

JasperStudio : JasperStudio 6.4.0.Final

I have runtim parameters in my report with different datasets, which is working fine in JasperStudio.

I published the same report to jasper server and entered the input parameners after running. Those values are not populated to queries in the report. Its showing as null in logs.

2017-10-12 11:05:38,688 DEBUG JRJdbcQueryExecuter,pool-4-thread-2:569 - Parameter #1 (TIME_FROM of type java.lang.String): null
2017-10-12 11:05:38,689 DEBUG JRJdbcQueryExecuter,pool-4-thread-2:569 - Parameter #2 (TIME_TO of type java.lang.String): null

Please help me with clear steps of how to map the parameters in jasperstudio to jasperserver?

Thanks in advance.

Link to comment
Share on other sites

  • 2 months later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

I solved with two steps:

1. Create the parameter in Jasperserver input control.

2. Create the parameter inside the Jaspersever report, and called it from the repository

3. Reduce the lenght name of my parameter. I had ie. Par-PEF-yr as the parameter name, then I changed it to PAR and it worked for me.

4. The parameter inside Jasperstudio has to be the same name and data type. In my case I had in Jasperserver a number type and in Jasperstudio a java.lang.Integer type

Link to comment
Share on other sites

  • 6 months later...

If the input controls are not working in Jasper server then you need to check what mistake you have done during publishing your report. What queries you are getting it depends on different reports. You can refer to http://collegeresearchpapersonline.blogspot.com/. I think you need to check whether the installation is proper or not. You will get full information through this link step by step.


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...