Standard Reports: Difference between revisions

From Commander4j
No edit summary
No edit summary
Line 3: Line 3:
These reports are created using a 3rd party library called [https://community.jaspersoft.com/download-jaspersoft/community-edition// Jaspersoft community edition]
These reports are created using a 3rd party library called [https://community.jaspersoft.com/download-jaspersoft/community-edition// Jaspersoft community edition]


You can modify this reports if you use a application called JasperSoft Studio [https://www.jaspersoft.com/products/jaspersoft-community JasperSoft Studio].
You can modify this reports if you use a application called JasperSoft Studio [https://community.jaspersoft.com/download-jaspersoft/community-edition/].


All the reports can be found in the "Reports" folder. See [[Folder Structure]]. Make a copy of this folder and work on the copy.
All the reports can be found in the "Reports" folder. See [[Folder Structure]]. Make a copy of this folder and work on the copy.

Revision as of 10:16, 22 August 2024

Commander4j comes with a great many "Standard" reports which can be accessed via the "Print" button on many of it's screens.

These reports are created using a 3rd party library called Jaspersoft community edition

You can modify this reports if you use a application called JasperSoft Studio [1].

All the reports can be found in the "Reports" folder. See Folder Structure. Make a copy of this folder and work on the copy.

The safest approach is to make a duplicate of the report which you want to modify and work on a renamed version of the file. When your happy with the changed you can copy the new report.

Note that the "source" or report definition is held in a file called .jrxml and when you have completed your changes you will need to compile the report within JasperSoft Studio, then copy back both the .jrxml and .jasper files into your reports folder.

To allow the application to run your new modified report instead of the original you will need to alter the appropriate report definition in the Modules screen