Report Not Displaying the Map
I've created a report template with it only containing a map, with the Essentials Main Map control dragged into place.
The datafield has not been changed and still reads _MainMap and it's name is MainMap.
Under Site > Print Templates I create my print template.
Under Map > I pick my dynamic map service and select the reports tab.
I create my report using the same file name as the print template name and select both the perform data linking and include feature maps checkboxes.
I've tested my report using rest end point url and see a map in my report. But when I run my map from the Tasks > Reports > Select my report
NO map appears in my output report.
Can anyone help?
Walter
-
Unless I'm mistaken, you don't use print templates in reports; you use feature maps, which are configured on the map layer.
0 -
It is possible to use a MainMap in a layer report, but you must have it added as a subreport. When an .rpx file is added as a Print Template in REST Manager, Essentials knows that it is supposed to send information about the map to the print when it is generated. When an .rpx file is added as a Layer Report, it doesn't know that mapping information should be included unless there is either a Feature Map in the main report, or it contains a subreport control that has it's ReportName property set to "MapSubReport".
The .rpx file referenced by the subreport could then contain a MainMap control and properly display the map image.
The sample LowIncome report contains an example of this with the MapSubReport in the report header, referencing LowIncomeMap.rpx which contains a MainMap control.
-Victoria
0 -
Victoria,
Thanks for the clarification.
Walter
0
Please sign in to leave a comment.
Comments
3 comments