Difference between revisions of "Manage Report Templates in IMSMA"
From IMSMA Wiki
Line 45: | Line 45: | ||
| [[Image:FieldViewIcon.png | Edit]] || Allows you to update the existing report template, 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. | | [[Image:FieldViewIcon.png | Edit]] || Allows you to update the existing report template, 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. | ||
|- | |- | ||
− | | [[Image: | + | | [[Image:EcksButton.png | Delete]] || Allows you to delete a report template. You can only delete a report template if there is no report in IMSMA building on that template, because then the report would get unusable. Therefore, if you really would like to delete a template, you have to first delete all the associated reports. |
|} | |} | ||
{{NavBox HowTo Produce Reports}} | {{NavBox HowTo Produce Reports}} |
Revision as of 18:54, 28 February 2014
iReport templates provide the foundation on which IMSMA reports are based. A report 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.)
A tutorial on using iReport and building templates can be found in Use i-Report.
The IMSMA Report Template Manager
The IMSMA Report Template Manager allows adding, changing and deleting report templates. To access the Report Template Manager, choose Customisation > Report Template Manager.
This opens the Report Template Manager.
Add a new iReport Template into IMSMA
To add a new iReport template:
- Click the button. The Add Report Template window displays.
- Enter a name for the IMSMA report template in the Name field.
- Enter a description for the IMSMA report template in the Description field.
- Select the iReport template that you would like to associate with IMSMA report template by doing the following:
- Click the Browse button.
- Navigate to the directory where the iReport .jrxml files are saved.
- 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.
- Click the Open button.
- The name of the .jrxml file displays in the File field.
- Click the Save button.
If you select a template that has sub-reports in a different folder, you will be prompted to select the sub-report after the save button is pressed. |
Preview, Change and Remove iReport Templates
iReport templates can be previewed, changed and removed using the following buttons in the Report Template Manager window.
|