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 features that are being updated. | UpdateFeaturesWorkflowData | ||
The selected feature being updated. | UpdateFeaturesWorkflowData | ||
The associated EditorViewModel for this workflow. | UpdateFeaturesWorkflowData |
Property Details
-
editorItems
editorItems EditorItem[]
-
The
EditorItem
objects fromEditorViewModel
corresponding to the layers/tables being updated.This array should be treated as read-only.
-
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
viewModel EditorViewModel
-
The associated EditorViewModel for this workflow.