Difference between revisions of "Manage Report Templates in IMSMA"

From IMSMA Wiki
Jump to: navigation, search
 
(19 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
{{TOC right}}
 
{{TOC right}}
  
iReport templates provide the foundation on which IMSMA reports are based. These templates define the data source (e.g. Land, Activity, Accident), the attributes that are included, and the overall appearance of the report.
+
iReport templates provide the foundation on which IMSMA reports are based. A iReport template defines:
 +
* the data source (e.g. Land, Activity, Accident)
 +
* the attributes that should be displayed on the report (e.g. Land ID, Land Name and Areasize for a land report)
 +
* the overall appearance of the report (title, formatting, etc.)
  
==The IMSMA Report Template Manager==
+
How to create and edit iReport templates with the iReport tool may be found [[Use iReport | '''here''']].
The IMSMA Report Template Manager allows adding, changing and deleting report templates. To access the Report Template Manager, choose '''Customisation > Report Template Manager'''.
+
 
 +
The Report Template Manager allows adding, changing and deleting iReport template definitions. To access the Report Template Manager, choose '''Customisation > Report Template Manager'''.
  
 
This opens the Report Template Manager.
 
This opens the Report Template Manager.
  
==Add a new iReport Template into {{IMSMANG}}==
+
[[Image:ReportTemplatesWindow.png|500px|center]]
To add a new iReport template:
+
<center>
<ol>
+
{| class="wikitable" width="600"
<li>Click the [[Image:FieldTemplateIcon.png]] button.<li>
+
|-
:The Add Report Template window displays.
+
| align="center" colspan="2" | '''Overview of functions for iReport template definitions'''
[[Image:fig84.png|500px|''Add Report Template Window'']]
+
|-
</ol>
+
| width="55pt" | '''Button'''
<ol start="4">
+
| width="475pt" | '''Description'''
<li>Enter a name for the IMSMA report template in the '''Name''' field.</li>
+
|-
<li>Enter a description for the IMSMA report template in the '''Description''' field.</li>
+
| align="center"| [[Image:Run.png | Run]] || Allows you to create a report. This function may also be started from the Reports menu and is described [[Add Reports in IMSMA | ''' here''']].
<li>Select the iReport template that you would like to associate with IMSMA report template by doing the following:</li>
+
|-
<ol type="a">
+
| align="center"| [[Image:ViewIcon.png | Preview]] || Allows you to preview a iReport template. This will [[Preview an iReport Template in IMSMA | preview]] the layout, but no data will be included.
<li>Click the '''Browse''' button.</li>
+
|-
<li>Navigate to the directory where the iReport '''.jrxml''' files are saved.</li>
+
| align="center"| [[Image:FieldTemplateIcon.png | Add]] || Allows you to [[Delete an iReport Template Definition from IMSMA Database | add]] an iReport template definition to the {{IMSMANG}} database.
<li>Select the '''.jrxml''' file associated with the iReport template. You do '''not''' need to include any .jasper file. {{IMSMANG}} will not be able to read a .jasper file.</li>
+
|-
<li>Click the '''Open''' button.</li>
+
| align="center"| [[Image:FieldViewIcon.png | Edit]] || Allows you to [[View or Change an iReport Template Definition in IMSMA | update]] an existing iReport template definition, for example for assigning it a new name, or changing the .jrxml template file. If you change the .jrxml template file, it has to be changed to a template that uses the same type, that is, you cannot change from a "Location" report to a "Land" report.
:The name of the .jrxml file displays in the File field.  
+
|-
</ol>
+
| align="center" | [[Image:EcksButton.png | Delete]] || Allows you to [[Delete an iReport Template Definition from IMSMA Database | delete]] an iReport template definition. You can only delete a report template if there is no report in IMSMA building on that template definition. Therefore, if you really would like to delete an iReport template definitions, you have to first delete all the associated reports.
<li>Click the '''Save''' button.</li>
+
|}
</ol>
+
</center>
 
+
{{NavBox HowTo Produce Reports}}
==Preview, Change and Remove iReport Templates==
+
[[Category:NAA]]

Latest revision as of 20:30, 20 February 2020

iReport templates provide the foundation on which IMSMA reports are based. A iReport template defines:

  • the data source (e.g. Land, Activity, Accident)
  • the attributes that should be displayed on the report (e.g. Land ID, Land Name and Areasize for a land report)
  • the overall appearance of the report (title, formatting, etc.)

How to create and edit iReport templates with the iReport tool may be found here.

The Report Template Manager allows adding, changing and deleting iReport template definitions. To access the Report Template Manager, choose Customisation > Report Template Manager.

This opens the Report Template Manager.

ReportTemplatesWindow.png
Overview of functions for iReport template definitions
Button Description
Run Allows you to create a report. This function may also be started from the Reports menu and is described here.
Preview Allows you to preview a iReport template. This will preview the layout, but no data will be included.
Add Allows you to add an iReport template definition to the IMSMANG database.
Edit Allows you to update an existing iReport template definition, for example for assigning it a new name, or changing the .jrxml template file. If you change the .jrxml template file, it has to be changed to a template that uses the same type, that is, you cannot change from a "Location" report to a "Land" report.
Delete Allows you to delete an iReport template definition. You can only delete a report template if there is no report in IMSMA building on that template definition. Therefore, if you really would like to delete an iReport template definitions, you have to first delete all the associated reports.