Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos uploading templates: remove parameters, subreport, JRNuclosDataSource, REPORT_DATA_SOURCE, getDataSource, query text.

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.

Status
colourPurple
titleHow-to
Status
colourBlue
titleApplication developer
Status
colourGreen
titleStand: Jul 2026
Status
colourGrey
titlegilt fuer Nuclos 4.2026.x

Panel
bgColor#F4F5F7

Auf dieser Seite

Inhalt
maxLevel2
minLevel2

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>")
Tipp
titleLoading

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

Related pages

file cabinet Transferring a data source to Nuclos


Data source.

Öffnen →

printer Creating forms with Jaspersoft Studio


Forms.

Öffnen →