Update Features Activity

Description

The Update Features activity updates existing features or records of an ArcGIS Server feature layer or 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: esri.Graphic (3.x, 4.x)* | esri.Graphic[] (3.x, 4.x)*

The features or records to add to the layer or table.

The geometry of features must have the same spatial reference as the layer.

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 of the update operation.

success

Type: Boolean

Whether the update 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:

Version Information

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