Delete Features Activity

Description

Deletes features from an ArcGIS feature layer.

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

Optional

Type: String

The URL of the ArcGIS feature layer to edit. Either Url or Layer is required.

The layer must support editing.

For example, http://server/arcgis/rest/services/<serviceName>/FeatureServer/<layerId>.

Layer

Optional

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

The ArcGIS feature layer. Either Url or Layer is required.

The layer must support editing.

Features

Required

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

The features to delete.

Object Id Field

Optional

Type: String

The field which contains the object identifier for all features.

Geodatabase Version

Optional

Type: String

The geodatabase version on which the operation will be performed.

This argument only applies to layers that support versioned data.

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

results

Type: Object[]

The results given after deletion.

success

Type: Boolean

Whether the delete operation completed successfully.

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11