import CreateFeaturesWorkflowData from "@arcgis/core/widgets/Editor/CreateFeaturesWorkflowData.js";const CreateFeaturesWorkflowData = await $arcgis.import("@arcgis/core/widgets/Editor/CreateFeaturesWorkflowData.js");- Inheritance:
- CreateFeaturesWorkflowData→
Accessor
- 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.
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
| | ||
declaredClass readonly inherited | ||
| | ||
pendingFeatures readonly | | |
| |
creationInfo
- Type
- CreationInfo | null | undefined
This provides the feature template and layer when creating a new feature.
fullTemplate
- 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
- Type
- ReadonlyCollection<Graphic>
Returns a collection of graphics representing features that have been created during the workflow.
- See also