Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Generate Webmap for Report Activity

Prev Top Next More

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.

When run in ArcGIS Web AppBuilder, this will not work unless the VertiGIS Studio Printing widget is installed. You will need to Prepare the Printing Widgets for Web AppBuilder.

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.

* VertiGIS Studio 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.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

Version Information

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

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)