Generate Webmap for Report Activity

Description

Generates a web map that can be used as input for printing a map in a Report. The web map is generated from the currently selected map.

The map produced by this activity is only suitable for use with the Run Report activity. It is not intended for use in other places where a Web Map might be used.

Usage

You could use a Generate Webmap for Report activity to generate a map suitable for a report and then pass it to the Run Report activity via the Webmap Parameters input.

Inputs

Map Name

Required

Type: String

The name of the map control in the report that will display the map image.

Extent

Optional

Type: esri.Extent (3.x, 4.x)*

The extent of the map in the Report. Defaults to the current extent in the viewer if not provided. If a scale is also provided, the extent is only used to determine the center point of the map.

Scale

Optional

Type: Number

The scale to zoom to with the map centered on the extent in the viewer or the provided extent. If not provided, the map will print at either the extent seen in the viewer or the provided extent.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

result

Type: WebmapPrintParameters

The parameters required as input for printing a map in a report.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

This activity does not work when the device is offline.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.

© 2020 VertiGIS North America Ltd. All Rights Reserved.

Documentation Version 5.19