Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Run Print Activity

Prev Top Next More

Description

The Run Print activity runs a VertiGIS Studio print. If the print template contains a Map Picture Box control, the control will show the currently selected map in the generated print. You must supply the URL of a print item located in ArcGIS Online or Portal for ArcGIS.

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 Display Form activity to get notes from the user and pass the notes as inputs to the Run Print activity so they are included in the print. Highlighted features and map markup will also show in the print.

Inputs

Url

Required

Type: String

The URL of the ArcGIS item for the print template you want to run.

Extent

Optional

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

The extent of the map to be printed. If you omit the Extent input, the map's current extent is used.

If you configure both the Extent and Scale inputs, the Extent input 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 Extent if it is configured, otherwise centered on the current extent.

If you omit the Scale input, the map prints at Extent if it is configured, otherwise at the current extent.

Parameters

Optional

Type: Lookup<any | any[]>

Additional print parameters.

For example, suppose the print template has two print inputs, Title and Notes. You could allow the user to enter the notes (but not the title) in a form by using an expression similar to this: ={ Notes: $form1.state.textArea1.value, Title: "Flooded Areas" }

Result File Name

Optional

Type: String

The name of the result file that is downloaded.

* 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

href

Type: String

The URL to the print output.

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 (58a5caf5)