Changes

Jump to: navigation, search

Create iReport Templates with Subreports

No change in size, 18:24, 19 September 2013
Geospatial relationships
Step 1: Create a main report for an object with geospatial info
# * Create a main report with an object that has geospatial information.# * Ensure that the '''''geospatialInfos''''' field is added to the main report.
Step 2: Create a GeospatialInfo subreport on the main report
# * On the main report, add a subreport using the '''GeospatialInfo''' datasource# * Pass the '''''geospatialInfos''''' field to the subreport in a parameter (e.g. GeospatialInfoList). '''Note:''' instead of passing the '''''$F{guid}''''' field to the parameter, the parameter value should be '''''$F{geospatialInfos}'''''# * In the GeospatialInfo subreport use the parameter in the following ImsmaQuery language syntax
guid IN $P{parametername}
Step 3: Create a Geopoint subreport on the GeospatialInfo report
# * On the Geospatialinfo subreport, add a subreport using the '''Geopoint''' datasource# * Pass the '''''guid''''' field to the subreport in a parameter (e.g. GeospatialGUID). '''Note:''' Pass the '''''$F{guid}''''' field '''NOT''' the '''''$F{geospatialInfos}''''' value.# * In the Geopoint subreport use the parameter in the following ImsmaQuery language syntax
geospatialinfoguid IN $P{parametername}
319
edits

Navigation menu