Jump to content

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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

Posted

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

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