Changes

Jump to navigation Jump to search
1,398 bytes added ,  07:42, 6 March 2018
Created page with "Creating reports with Jaspersoft Studio: # Create a new report. Choose Data Adapter- One Empty Record as the Data source.There is no suitable data source for Memento for the t..."
Creating reports with Jaspersoft Studio:
# Create a new report. Choose Data Adapter- One Empty Record as the Data source.There is no suitable data source for Memento for the time being, you won't get the list of fields or the preview data.
# Create fields with the same names as in Memento. Jaspersoft Studio displays report’s fields as children of the Fields node in the document outline view. To create a field, right-click the Fields node and select Create Field. On the field properties tab, select the appropriate field class for the field type in Memento. See the table below.
# Move the fields to the report area - Detail.
# Save the template in a jrxml file
# Choose this jrxml file when creating the Jasper report in Memento.

Download Jaspersoft Studio: https://community.jaspersoft.com/project/jaspersoft-studio/releases

Jaspersoft Studio work documentation: https://community.jaspersoft.com/documentation/tibco-jaspersoft-studio-user-guide/v60/getting-started-jaspersoft-studio

Correspondence of Memento field types and Jasper reports field classes:

{| class="wikitable" style="font-size:120%"
! Memento field type !! Jasper report field class
|-
| Integer, Rating || java.lang.Long
|-
| Real number, Currency, Calculation (Real Result) || java.lang.Double
|-
| Date, Date/Time, Time || java.util.Date
|-
| Boolean || java.lang.Boolean
|-
| Other fields || java.lang.String
|}

Navigation menu