Skip to content

UpdateFeaturesWorkflowData

ESM: import UpdateFeaturesWorkflowData from "@arcgis/core/widgets/Editor/UpdateFeaturesWorkflowData.js";
CDN: const UpdateFeaturesWorkflowData = await $arcgis.import("@arcgis/core/widgets/Editor/UpdateFeaturesWorkflowData.js");
Class: @arcgis/core/widgets/Editor/UpdateFeaturesWorkflowData

This object supports the Editor widget. It contains data for the UpdateFeaturesWorkflow. This is accessed via the UpdateFeaturesWorkflow.data.

Constructors

UpdateFeaturesWorkflowData

Constructor
new UpdateFeaturesWorkflowData(properties)
Parameter
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Name Type Summary Class

The EditorItem objects from EditorViewModel corresponding to the layers/tables being updated.

UpdateFeaturesWorkflowData

The layers and ids of features that are being updated.

UpdateFeaturesWorkflowData

The features that are being updated.

UpdateFeaturesWorkflowData

The selected feature being updated.

UpdateFeaturesWorkflowData

The associated EditorViewModel for this workflow.

UpdateFeaturesWorkflowData

Property Details

editorItems

Property
editorItems EditorItem[]

The EditorItem objects from EditorViewModel corresponding to the layers/tables being updated.

This array should be treated as read-only.

featureInfos

Property
featureInfos FeatureInfo[] |null |undefined

The layers and ids of features that are being updated. Different items should not reference the same layer multple times. If this occurs, the item with the highest relative index takes priority, and object ids from earlier items are ignored.

This array should be treated as read-only. To update a different set of features, create a new workflow.

features

Property
features Graphic[]

The features that are being updated.

This array should be treated as read-only. To update a different set of features, create a new workflow.

selectedFeature

Property
selectedFeature Graphic |null |undefined

The selected feature being updated. Null when in "batch" mode, where multiple features are being updated.

viewModel

Property
viewModel EditorViewModel

The associated EditorViewModel for this workflow.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.