import UpdateFeaturesWorkflowData from "@arcgis/core/widgets/Editor/UpdateFeaturesWorkflowData.js";
const UpdateFeaturesWorkflowData = await $arcgis.import("@arcgis/core/widgets/Editor/UpdateFeaturesWorkflowData.js");
@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
-
Parameterproperties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
| Name | Type | Summary | Class |
|---|---|---|---|
The | 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
PropertyeditorItems EditorItem[] -
The
EditorItemobjects fromEditorViewModelcorresponding to the layers/tables being updated.This array should be treated as read-only.
-
featureInfos
PropertyfeatureInfos 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.
-
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.
-
The selected feature being updated. Null when in "batch" mode, where multiple features are being updated.
-
viewModel
PropertyviewModel EditorViewModel -
The associated EditorViewModel for this workflow.