Skip to content

SplitFeatureWorkflowData

ESM: import SplitFeatureWorkflowData from "@arcgis/core/widgets/Editor/SplitFeatureWorkflowData.js";
CDN: const SplitFeatureWorkflowData = await $arcgis.import("@arcgis/core/widgets/Editor/SplitFeatureWorkflowData.js");
Object: @arcgis/core/widgets/Editor/SplitFeatureWorkflowData
Since: ArcGIS Maps SDK for JavaScript 4.34

Property Overview

Name Type Summary Object

The EditorItem object from EditorViewModel corresponding to the layer being updated.

SplitFeatureWorkflowData

Information about the feature to be updated as a result of the split operation.

SplitFeatureWorkflowData

The feature to be split.

SplitFeatureWorkflowData

Information about the feature to be created as a result of the split operation.

SplitFeatureWorkflowData

The geometry to be used to split the geometry of originalFeature.

SplitFeatureWorkflowData

The associated EditorViewModel for this workflow.

SplitFeatureWorkflowData

Property Details

editorItem

Property
editorItem EditorItem

The EditorItem object from EditorViewModel corresponding to the layer being updated.

existingFeatureEdits

Property
existingFeatureEdits Edits |null |undefined

Information about the feature to be updated as a result of the split operation.

A split workflow results in two edits: the existing feature is updated to have one of the geometries resulting from the split, and a new feature is created with the other geometry. This property references the feature that will be updated.

See also

feature

Property
feature Graphic

The feature to be split.

This feature's attributes object must contain all fields for which values are set on the feature, and its geometry must be full resolution. If the Graphic was obtained from a layer view query, it is likely that the geometry is not full resolution and that the attributes do not contain all fields.

newFeatureEdits

Property
newFeatureEdits Edits |null |undefined

Information about the feature to be created as a result of the split operation.

See also

splitterGeometry

Property
splitterGeometry Point |Polyline |Polygon |null |undefined

The geometry to be used to split the geometry of originalFeature.

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.