shubhamprasad312 Posted October 10, 2018 Share Posted October 10, 2018 How to configure input controls in jasperserver ?I created an input control but the data is not changing accordingly when i am running the report .Can anyone please help me on this ? Link to comment Share on other sites More sharing options...
miwagada Posted October 10, 2018 Share Posted October 10, 2018 pass input control parameter name in the query you are using like : select id, name from customers where id = $P{id_name} Or select id, name from customers where id in $P!{id_name} where id_name is the name of input control created in jasper server. Link to comment Share on other sites More sharing options...
shubhamprasad312 Posted October 11, 2018 Author Share Posted October 11, 2018 Hi,I passed the input control parameter name in the querySELECT employee_name FROM demo WHERE employee_name=$P{NAME}But still its not working.Its giving me an error: There was an error on the server. Try again or contact site administrators. (Error UID: f73ad56c-b5c8-472d-943f-ac78bdfd4daa) Link to comment Share on other sites More sharing options...
mca.amitrami Posted October 11, 2018 Share Posted October 11, 2018 - Parameter name should be same on Report and Server and Map that parameter report level on server, Thanks,Amit Link to comment Share on other sites More sharing options...
shubhamprasad312 Posted October 12, 2018 Author Share Posted October 12, 2018 HiWhen i am passing the parameter name in query input control its giving me error. There was an error on the server. Try again or contact site administrators. (Error UID: f73ad56c-b5c8-472d-943f-ac78bdfd4daa)And the name of the parameter is same in both ,Studio as well as Server.Can Anyone please help me with this ? Link to comment Share on other sites More sharing options...
joseng62 Posted October 12, 2018 Share Posted October 12, 2018 The error you are sharing, indicates you are not aware of the log file you can use to pin point ussues. When you get Error in JasperServer, always go check you jasperserver.log file. You will have a more detailed stack trace. You can even enable more logging on jasperserver and set to debug level, if needed. In server as admin, go to Manage, then server settings then log settings, there you can add more loggers and log level. Log file will be located atApache_installed_pathwebappsjasperserverWEB-INFlogsjasperserver.logSo go check error there and get back to us. 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