Sei sulla pagina 1di 8

iReport

Setup for Cloud



Introduction


MA CMMS V3 implements the powerful Jasper Reports engine which brings a content rich reporting environment allowing every organization to take advantage of powerful data driven reports improving business intelligence and overall operational strategies. The MA CMMS has built in the necessary tools to allow any organization to download (through the MA Add-on Manager), custom build, and run Jasper Reports templates quickly and easily. iReports is a powerful open source reporting tool that has the ability to deliver rich content onto the screen, to the printer, or into PDF, HTML, XLS, RTF, ODT, CSV, TXT and XML files.

Download & Install


1. Download and install iReport, a free application provided as the Jasper Reports template builder, from: http://sourceforge.net/projects/ireport/ 2. Download the derby.jar file as provided by Maintenance Assistant. 3. Download your cloud database to a local directory using the following procedure -http://helpdesk.maintenanceassistant.com/entries/21044466-v4-download- database-to-local-drive

Configure
With the iReport application installed, double click on the iReport icon from your desktop to start it. When running iReport for the first time, you will want to set it up to access your MA CMMS downloaded database. 1. Click on Jasper iReport Developer icon in your programs or applications folder:

iReport Setup for MA Cloud 1

2. This will lead you to the welcome screen.

3. You now need to add Derby libraries to your iReport ClassPath. MAC:- Select iReport - > Preferences - > iReport- > Classpath PC:- Select Tools -> Options, and click on iReport button at the top of the dialog box. Select the Classpath Tab.

iReport Setup for MA Cloud

4. Select Add Jar to add your database libraries. The two files you are looking for are derby.jar and derbyclient.jar. Locate these files on your PC or MAC.

iReport Setup for MA Cloud 3

5. Locate the files in your directory. Click open to add.

iReport Setup for MA Cloud

6. Once you have added your two jar files, select OK to save. 7. You now need to add a new datasource. Click the icon opposite the Empty datasource dropdown:

iReport Setup for MA Cloud 5

7. Click New

8. Select Database JDBC connection and click Next

iReport Setup for MA Cloud

9. Name your Connection "My Local Database" or something like that. 10. Enter "org.apache.derby.jdbc.EmbeddedDriver" as the JDBC Driver, 11. Enter your MA CMMS database file location information as below. This is the database you downloaded from your cloud instance.

iReport Setup for MA Cloud 7

In this case, the downloaded database is stored in my backupfolder/ma folder. Login: ma Password: ma 10. Click test to test the connection. if the connection fails, then you a) do not have your MA CMMS running at this location, b) your MA CMMS database is running on a different port.). 11. Click Save. 12. Now that you are connected to your MA CMMS database, you will be able to run queries against it in order to build out and test your Jasper Reports template using iReport. 8 iReport Setup for MA Cloud

Potrebbero piacerti anche