Get Feature Layer Info Activity

Description

Gets the layer information of an ArcGIS feature layer by performing a web request to the service endpoint.

Offline Support

In order for this activity to work when the device is offline, the application must run in the Geocortex Mobile App Framework with an offline map that includes the feature layer.

Geocortex Mobile App Framework does not support the following input:

Inputs

Url

Required

Type: String

The URL of the ArcGIS feature layer.

For example, http://server/arcgis/rest/services/<serviceName>/MapServer/<layerOrTableId> or http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerOrTableId>.

Source

Optional

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

The layer source used with a dynamic layer. If used, the url input must also be specified and reference a dynamic layer.

For example: http://server/arcgis/rest/services/<serviceName>/MapServer/dynamicLayer.

Requires ArcGIS Server v.10.1+.

Timeout

Optional

Type: Number

The time span in milliseconds to wait for the request's results.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

layerInfo

Type: Object

The result layer information.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Properties

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

Version Information

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9