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

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.

more details
UtilityNetworkValidateTopologyViewModel
String

Specifies the extent of the validation.

more details
UtilityNetworkValidateTopologyViewModel
Collection<string>

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

more details
UtilityNetworkValidateTopologyViewModel
String

The view model's state.

more details
UtilityNetworkValidateTopologyViewModel
UtilityNetwork

Determines the utility network to use.

more details
UtilityNetworkValidateTopologyViewModel
MapView

The view from which the widget will operate.

more details
UtilityNetworkValidateTopologyViewModel

Property Details

executionError Stringreadonly

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

extentToValidate String

Specifies the extent of the validation.

Possible Values:"current"|"entire"

Default Value:current
loadErrors Collection<string>

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

state Stringreadonly

The view model's state.

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

Default Value:ready
utilityNetwork UtilityNetwork

Determines the utility network to use.

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.

more details
UtilityNetworkValidateTopologyViewModel

Method Details

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.