Difference between revisions of "Start and Configure iReport"

From IMSMA Wiki
Jump to: navigation, search
(Version 6.0)
Line 5: Line 5:
 
iReport is installed with IMSMA and may be started via the IMSMA Tray Launcher. To start iReport:
 
iReport is installed with IMSMA and may be started via the IMSMA Tray Launcher. To start iReport:
 
<ol>
 
<ol>
<li>Ensure that the IMSMA server is started</li>
+
<li>Ensure that the IMSMA server is started.</li>
 
<li>Right-click the '''IMSMA Control Centre''' icon that is displayed in the lower, right corner of your Windows’ desktop.</li>
 
<li>Right-click the '''IMSMA Control Centre''' icon that is displayed in the lower, right corner of your Windows’ desktop.</li>
<li>Select the '''iReport''' option.</li>
+
<li>Select the '''Start IReport''' option.</li>
<li>Select the '''Start iReport''' option.</li>
 
 
</ol>
 
</ol>
  
Line 18: Line 17:
 
To set the compilation directory:
 
To set the compilation directory:
 
<ol>
 
<ol>
<li>From the '''Options''' menu, select '''Settings'''.</li>
+
<li>From the '''Tools''' menu, select '''Options'''.</li>
 
:The iReport – Options window displays the General tab.
 
:The iReport – Options window displays the General tab.
<li>Select the '''Compiler''' tab.</li>
+
<li>Select the '''Compilation and execution''' tab.</li>
<li>Check the '''Use Reports Directory to Compile''' checkbox.</li>
+
<li>Check the '''Use Report Directory to Compile''' checkbox.</li>
<li>Click the '''Save''' button.</li>
+
<li>Click the '''OK''' button.</li>
 
:The iReport – Options window closes.
 
:The iReport – Options window closes.
 
</ol>
 
</ol>
Line 29: Line 28:
 
To import the data sources that are available for IMSMA:
 
To import the data sources that are available for IMSMA:
 
<ol start="5">
 
<ol start="5">
<li>From the Data menu, select Connection/Data Sources.</li>
+
<li>From the iReports toolbar, click the Report Datasources icon, [[Image:Connection_datasources.png]].</li>
 
:The Connections/Datasources window displays.
 
:The Connections/Datasources window displays.
 
<li>Click the '''Import''' button.</li>
 
<li>Click the '''Import''' button.</li>

Revision as of 20:33, 27 January 2014

The sections in this article will guide you through starting and configuring iReport.

Starting iReport

iReport is installed with IMSMA and may be started via the IMSMA Tray Launcher. To start iReport:

  1. Ensure that the IMSMA server is started.
  2. Right-click the IMSMA Control Centre icon that is displayed in the lower, right corner of your Windows’ desktop.
  3. Select the Start IReport option.

Configuration

Note.jpg The steps in this section will only need to be completed once.

Setting the Compilation Directory

As reports are generated, iReport creates several files which it uses to produce the report results. To set the compilation directory:

  1. From the Tools menu, select Options.
  2. The iReport – Options window displays the General tab.
  3. Select the Compilation and execution tab.
  4. Check the Use Report Directory to Compile checkbox.
  5. Click the OK button.
  6. The iReport – Options window closes.

Importing Data Sources

To import the data sources that are available for IMSMA:

  1. From the iReports toolbar, click the Report Datasources icon, Connection datasources.png.
  2. The Connections/Datasources window displays.
  3. Click the Import button.
  4. The Open window displays.
  5. From the Open window:
    1. Navigate to the <IMSMA Installation Directory>\iReport\IMSMA Data Sources directory.
    2. Select the IMSMA data sources.xml file.
    3. Click the Open button.
    4. A window displays how many connections were imported.
  6. Click the OK button to close the window that displays the number of imported connections.
  7. Close the Connections/Datasources window by clicking the IReportX.png button displayed in the upper, right corner of the window.
Note.jpg Although numerous IMSMA data sources are available via iReport, only the following data sources should be used as the primary data source for a report: accident, Data Entry Form, land, activity, location, education, organisation, place, QM, and victim.

Template:NavBox HowTo use iReport