Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Get Graphics Activity

Prev Top Next More

Description

The Get Graphics activity gets the features from the specified graphics layer in the currently selected map.

Inputs

Layer Id

Optional

Type: String | Number

The ID of the graphics layer to get features from. In applications that use the 4.x ArcGIS API for JavaScript, the title of the layer is also searched if no matching ID is found. If no layer ID is provided, the activity gets features from the currently selected map's default graphics layer.

If the workflow will run in VertiGIS Studio Web, VertiGIS Studio Mobile, or Web AppBuilder, you can either set Layer Id to the ID from the layer object or to the layer name from the web map.

If the workflow will run in the Geocortex Viewer for HTML5, set Layer Id to the map service ID. Get the map service ID from Geocortex Essentials Manager or from the Geocortex Essentials Sites Directory.

Geometry Type

Optional

Type: String

The type of geometry to retrieve from the graphics layer. If not specified, all features will be returned.

Outputs

features

Type: esri.Graphic[] (3.x, 4.x)*

The features of the graphics layer.

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

Properties

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

Connectivity Requirements

This activity works 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)