Skip to content
import CreateFeaturesWorkflowData from "@arcgis/core/widgets/Editor/CreateFeaturesWorkflowData.js";
Inheritance:
CreateFeaturesWorkflowDataAccessor
Since
ArcGIS Maps SDK for JavaScript 4.23

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

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

creationInfo

Property
Type
CreationInfo | null | undefined

This provides the feature template and layer when creating a new feature.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

fullTemplate

Property
Type
FeatureTemplate | SharedTemplate | null | undefined

The full version of the template referenced by the property creationInfo.template. If that template is a standard FeatureTemplate, this property will simply reference that template. If the template is a SharedTemplateMetadata, this property will be set to an instance of SharedTemplate representing that template's full definition.

Note, if this property references an instance of SharedTemplate, the instance will have already been loaded. Clients assigning a new value to this property should ensure that load has been called on the new value.

pendingFeatures

readonly Property
Type
ReadonlyCollection<Graphic>

Returns a collection of graphics representing features that have been created during the workflow.

See also

viewModel

Property
Type
EditorViewModel

The associated EditorViewModel for this workflow.