Nuclos uploading templates: remove parameters, subreport, JRNuclosDataSource, REPORT_DATA_SOURCE, getDataSource, query text. |
Language: Deutsch · English
Prepare finished Jasper templates for Nuclos – remove test parameters and wire subreports the Nuclos way.
Auf dieser Seite |
Once the design is finished and tested, the form/report is imported into Nuclos. Beforehand the data source should be transferred to Nuclos.
Remove everything only needed for test/design in the designer:
The same applies to the subreport template (e.g. Auftragspositionen.jrxml).
net.sf.jasperreports.engine.JasperReport).| Property | Value |
|---|---|
| Subreport Expression | $P{Sub_Auftragspositionen} |
| Expression Class | net.sf.jasperreports.engine.JasperReport |
| Connection type | Use a datasource expression |
| Datasource Expression | ((org.nuclos.server.report.api.JRNuclosDataSource)$P{REPORT_DATA_SOURCE}).getDataSource("<Nuclos data source>") |
The form is loaded via Configuration → Report → Form or Report. |