globe with meridians Language: Deutsch · English

hammer and wrench Uploading templates to Nuclos

Prepare finished Jasper templates for Nuclos – remove test parameters and wire subreports the Nuclos way.

HOW-TO APPLICATION DEVELOPER UPDATED: JUL 2026 APPLIES TO NUCLOS 4.2026.X

On this page

Make the template Nuclos-compliant

Once the design is finished and tested, the form/report is imported into Nuclos. Beforehand the data source should be transferred to Nuclos.

Remove test artifacts

Remove everything only needed for test/design in the designer:

  1. all self-created parameters,
  2. all subreports,
  3. the content of the Query Text property.

The same applies to the subreport template (e.g. Auftragspositionen.jrxml).

Create a Nuclos-compliant subreport

  1. Create a parameter for the subreport (enter the type manually: net.sf.jasperreports.engine.JasperReport).
  2. Insert via the palette Subreport → Just create the subreport element.
  3. Set the properties:
PropertyValue
Subreport Expression$P{Sub_Auftragspositionen}
Expression Classnet.sf.jasperreports.engine.JasperReport
Connection typeUse a datasource expression
Datasource Expression((org.nuclos.server.report.api.JRNuclosDataSource)$P{REPORT_DATA_SOURCE}).getDataSource("<Nuclos data source>")

Loading

The form is loaded via Configuration → Report → Form or Report.

Related pages

file cabinet Transferring a data source to Nuclos


Data source.

Open →

printer Creating forms with Jaspersoft Studio


Forms.

Open →

  • Keine Stichwörter