mlopez_1 Posted April 20, 2015 Posted April 20, 2015 Enhancement request submitted for add two new parameters for executing Reports Units via URL - one parameter for select DataSource - the other for select zoomThis are the requests:http://community.jaspersoft.com/jasperreports-server/issues/4491http://community.jaspersoft.com/jasperreports-server/issues/4496If you find them useful please vote for it.Regards, Mariano
marianol Posted April 21, 2015 Posted April 21, 2015 More than a question this is a cry for help :) I'm good with that...Selecting the zoom may be done in the report viewer page; you can probably implement that yourself in the report viewer itself <tomcat>/webapps/jasperserver-pro/WEB-INF/jsp/modules/* check viewReport.jsp as a starting point. Selecting the Datasource is a bit more tricky since the datasource has to be set prior tp the report execution. You did not specify what version of JasperServer you are running but starting on 6.0 you can add profile attributes to datasources that will allow to change the datasource properties on the fly dependant on this parameters, here is the documentation: http://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v601/attributes-data-source-definitions
mlopez_1 Posted April 22, 2015 Author Posted April 22, 2015 Marianol, thank you very much for your answer.You are right, my environment is Jaspersoft Server 6.0.1 CentOS 6.4x64 JDK 1.7.I am working with JSS 6.0.4 in desktop side and this versión is not implemented in Bug Tracker. I was confused with this version.Respect to zoom property i would like to calculate in runtime for the best zoom depending on screen resolution. But I think that your solution will be good enough.Respect dynamic datasource that is exactly what I need. ;)Regards, Mariano
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