Delete Features Activity

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". This value is case-sensitive.

Geodatabase Version

Optional

Type: String

The geodatabase version on which the operation will be performed.

This argument only applies to layers and tables 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 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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

In order for this activity to work when the device is offline, the activity must run in one of the following applications:

Version Information

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

© 2020 VertiGIS North America Ltd. All Rights Reserved.

Documentation Version 5.19