Skip to content
import EditingCapabilities from "@arcgis/core/layers/support/EditingCapabilities.js";
Inheritance:
EditingCapabilitiesAccessor
Subclasses:
EditorEditingCapabilities
Since
ArcGIS Maps SDK for JavaScript 5.0

The default editing capabilities for the provided layer.

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.

attachments

readonly Property
Type
AttachmentCapabilities

The editing capabilities for attachments.

create

readonly Property
Type
CreateCapabilities

The editing capabilities for creating features.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

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

delete

readonly Property
Type
DeleteCapabilities

The editing capabilities for deleting features.

layer

Property
Type
EditorLayerUnion

The associated layer.

reliesOnOwnerAdminPrivileges

readonly Property
Type
boolean

Indicates when editing is enabled and is only due to administrative permissions. It returns false for any users if editing is generally enabled.

update

readonly Property
Type
UpdateCapabilities

The editing capabilities for updating features.