UtilityNetworkValidateTopologyViewModel

AMD: require(["esri/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel"], (UtilityNetworkValidateTopologyViewModel) => { /* code goes here */ });
ESM: import UtilityNetworkValidateTopologyViewModel from "@arcgis/core/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js";
Class: esri/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel
Since: ArcGIS Maps SDK for JavaScript 4.27

Provides the logic for the UtilityNetworkValidateTopology widget.

See also

Constructors

UtilityNetworkValidateTopologyViewModel

Constructor
new UtilityNetworkValidateTopologyViewModel(properties)
Parameter
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Name Type Summary Class
String

If the validation process fails, this property returns an error message.

UtilityNetworkValidateTopologyViewModel
String

Specifies the extent of the validation.

UtilityNetworkValidateTopologyViewModel
Collection<string>

If an error occurs during during validation a loadError wil be displayed.

UtilityNetworkValidateTopologyViewModel
String

The view model's state.

UtilityNetworkValidateTopologyViewModel
UtilityNetwork

Determines the utility network to use.

UtilityNetworkValidateTopologyViewModel
MapView

The view from which the widget will operate.

UtilityNetworkValidateTopologyViewModel

Property Details

executionError

Property
executionError Stringreadonly

If the validation process fails, this property returns an error message. Otherwise, it is empty.

extentToValidate

Property
extentToValidate String

Specifies the extent of the validation.

Possible Values:"current"|"entire"

Default Value:current

loadErrors

Property
loadErrors Collection<string>

If an error occurs during during validation a loadError wil be displayed.

state

Property
state Stringreadonly

The view model's state.

Possible Values:"disabled"|"executing"|"failed"|"loading"|"ready"|"success"

Default Value:ready

utilityNetwork

Property
utilityNetwork UtilityNetwork

Determines the utility network to use.

view

Property
view MapView

The view from which the widget will operate.

Method Overview

Name Return Type Summary Class

Validates the network topology of the utility network.

UtilityNetworkValidateTopologyViewModel

Method Details

validateTopology

Method
validateTopology()

Validates the network topology of the utility network.

See also

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.