jacobs_1 Posted January 14, 2015 Share Posted January 14, 2015 when I run a report using this Query-based Input Controlsselect distinct COLUMN from TABLE where COLUMN is not NULL and $P{LoggedInUser}='Administrator'I getnet.sf.jasperreports.engine.JRRuntimeException: Parameter "LoggedInUser" does not exist. Link to comment Share on other sites More sharing options...
Solution jacobs_1 Posted January 15, 2015 Author Solution Share Posted January 15, 2015 You have to define an input control that take no information.Incase of user roles you have to define an input control multi select from list with the name and Id LoggedInUserRoles and an empty list.edit: it is better create the input control as multi select (select * from jirole) and add the property select_all:true to the parameter in ireport. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now