Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Delete Features Activity

Prev Top Next More

Description

Deletes features from an ArcGIS feature layer or records from a table.

Inputs

Url

Optional

Type: String

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

The layer or table must support editing.

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

Layer

Optional

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

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

The layer or table must support editing.

Features

Required

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

The features or records to delete, or their unique IDs.

Use Global Ids

Optional

Type: Boolean

If true, the features or records to delete are identified by Global IDs. Otherwise, Object IDs are used. The default value is false.

Id Field

Optional

Type: String

The name of the field which contains the unique identifier for the features or records. When Use Global Ids is false, this is the Object Id field, with a default value of "OBJECTID". When Use Global Ids is true, this is the Global Id field, with a default value of "GlobalID".

As of Workflow 5.30, this value is case-insensitive in all client environments.

Geodatabase Version

Optional

Type: String

The geodatabase version on which to perform the operation.

This argument only applies to layers and tables that support versioned data.

Timeout

Optional

Type: Number

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

* 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

results

Type: Object[]

The results given after deletion.

success

Type: Boolean

Whether the delete operation completed successfully.

Properties

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

Connectivity Requirements

For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:

VertiGIS Studio Mobile

The app must have a map area that includes the feature layer or table.

You must use the Layer input to specify the layer or table, not the Url input.

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)