Skip to content
import UtilityNetworkAssociationInput from "@arcgis/core/widgets/FeatureForm/UtilityNetworkAssociationInput.js";
Inheritance:
UtilityNetworkAssociationInputEditableInput<UtilityNetworkAssociationsElement>InputBaseAccessor
Since
ArcGIS Maps SDK for JavaScript 4.32
beta
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.
PropertyTypeClass
declaredClass
readonly inherited
editable
readonly
editType
inherited
group
readonly
type
readonly
"utilityNetworkAssociations"
uid
readonly inherited
updating
readonly

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

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

editable

readonly Property
Type
boolean

Indicates whether the input is editable.

editType

inherited Property
Type
EditType
Inherited from: EditableInput

The value that will be set for the Arcade variable $editcontext.editType in the Arcade context used to evaluate form expressions.

Accepted values are "INSERT", "UPDATE", "DELETE", and "NA".

For FieldInputs with value expressions, this property is also used in determining whether or not the value expressions should be applied. Per the Web Map Specification, value expressions are ignored if the associated layer field is not editable. Determining whether the layer field is editable must consider whether the specific type of edit being attempted is allowed. For example, if a layer has the supportsAdd capability but does not have the supportsUpdate capability, then the value expression will be applied if editType is INSERT but ignored if editType is UPDATE.

For the purposes of determining whether or not the layer allows the current edit type, a value of "NA" is always considered allowed.

Default value
"NA"

group

readonly Property
Type
GroupInput | null | undefined

The group containing the relationship input.

type

readonly Property
Type
"utilityNetworkAssociations"

The type of input.

uid

readonlyinherited Property
Type
string
Inherited from: IdentifiableMixin
Since
ArcGIS Maps SDK for JavaScript 4.33

An automatically generated unique identifier assigned to the instance. The unique id is generated each time the application is loaded.

updating

readonly Property
Type
boolean

Indicates whether the form is currently updating.

Methods

MethodSignatureClass
refresh(): Promise<void>

refresh

Method
Signature
refresh (): Promise<void>

Refreshes the associations view model for this Input.

Re-queries the count of associated features for each association type, as well as the associated features for any open association type.

Returns
Promise<void>

Resolves when the view model finishes querying its associated features.