Optionalproperties: FeaturePropertiesProtected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected Readonly_itemThe item type for this entity when it participates in an App.
ReadonlyattachmentsAttachments associated with this feature. See fetchAttachments.
ReadonlyattributesThe feature's attributes, keyed by field name.
ReadonlyexpressionThe Expression values associated with this feature. See fetchExpressionInfos.
ReadonlyschemaMetadata about the feature, such as fields, domains, geometry type, etc.
ReadonlysettingsSettings for this feature.
Indicates whether attachments have been fetched at least once.
A human-readable description for the feature.
Indicates whether async Arcade expressions have been evaluated at least once.
Determines how a parent object should handle initialization failure in this object. The default is "warn".
"error": support/InitializeError!InitializeError is thrown."warn": Message is logged and
support/InitializableBase!InitializeWarningEvent is raised."ignore": support/InitializableBase!InitializeWarningEvent is
raised.The feature's geometry. For non-spatial features, this will be undefined.
The type of geometry. This property will be undefined if the data is not spatial.
Returns the feature's global ID if set and supported by its underlying
source. If the feature's source does not support global IDs, then reading
this value will return undefined, and attempting to set this property
will result in an error. Use hasGlobalId to check if it's supported.
Determines whether this feature has a global ID field.
The unique ID for this entity.
The item type for this entity when it participates in an App.
Feature attributes that have been formatted for display. Read-only.
The attribute value of the Feature's OBJECTID (oid) field.
Gets features that are related to this feature. Returns sets of related features keyed by the relationship that they came from. In order to make related feature available, you must call fetchRelatedFeatures.
Indicates whether related features have been fetched at least once, if this feature has relationships.
The source of this feature.
A human readable title for the feature.
The Esri API FeatureType object that is associated with this feature.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Adds an attachment to the feature. Returns the created Attachment item.
The attachment to add to the feature.
Deletes attachments from the feature.
The attachments or the ids of the attachments to delete.
Fetches features that are related to this feature. Features are available through Feature.relatedFeatures.
Optionalrelationships: string | Relationship | (string | Relationship)[]The relationships or relationship IDs to fetch related features for. If omitted, all related features will be fetched.
Optionaloptions: FetchRelatedFeaturesOptionsAdditional options that affect fetching related features.
Same as utilities/format/string!StringFormatter.format, except
that the format string may also contain field format items, which have
this syntax: {field-name[:format]}.
These items will be substituted with the appropriate field value. Null and undefined values will be converted into empty strings.
The format string to use.
Rest...args: unknown[]Same as utilities/format/string!StringFormatter.format, except
that the format string may also contain field format items, which have
this syntax: {field-name[:format]}.
These items will be substituted with the appropriate field value. Null and undefined values will be converted into empty strings.
Rest...args: unknown[]Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
Represents a record in a data/FeatureSource!FeatureSource. Both spatial and non-spatial features have attributes, while only spatial features have geometry.