Jump to content
We've recently updated our Privacy Statement, available here ×

pcvito09

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by pcvito09

  1. Hi Sanda, I am afraid I did not explain it too well, sorry. First of all I understand what you mean with the example code by using the FillReport method. Whenever I want to start the reports from a Java program I can use it but that is not the case. I want to run the reports from a web server but I want to have 1 report for all the three environments (dev, acc, live) where I can select the required DB. Now I have 3 copies of the reports on my Jaspersoft server and I specify the DB at the properties level of each report. I want to have for instance the possibility at startup of the report to select the environment and this selection causes to set the correct DB, that is what I meant within iReport. Regards, Patrick
  2. Thanks. As far as I understand is this only possible when calling the report from Java code, is that right ? I want to set the connection within iReport, maybe in a scriptlet ? The strange thing is that I have to use fillReportToFile since I am in the report file (in iReport). I am not so familiar with scriptlets. Patrick
  3. Hello. Thanks for the answer. I was also thinking about using a parameter but the problem is I do not know how to use the value of the parameter to specify which database to use. There are 2 parameters REPORT_CONNECTION and REPORT_DATASOURCE but they are read only. Regards, Patrick
  4. Whenever I change my reports I copy the files manually in iReport (in the repository navigator). Is there an easy way to deploy the .jrxml files to the jasperserver via a script ?
  5. Hi, I have a similar question: I have 3 databases (dev, acc and live) and I want to run one and the same report 3 times but with the different DB connection. Is there a simple solution for this ? I do not want to make 3 copies where only the data source is different. Any ideas ? Thanks.
×
×
  • Create New...