require(["esri/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel"], (UtilityNetworkValidateTopologyViewModel) => { /* code goes here */ });
import UtilityNetworkValidateTopologyViewModel from "@arcgis/core/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel.js";
esri/widgets/UtilityNetworkValidateTopology/UtilityNetworkValidateTopologyViewModel
Provides the logic for the UtilityNetworkValidateTopology widget.
Constructors
-
Parameterproperties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class |
---|---|---|---|
If the validation process fails, this property returns an error message. | UtilityNetworkValidateTopologyViewModel | ||
Specifies the extent of the validation. | UtilityNetworkValidateTopologyViewModel | ||
If an error occurs during during validation a loadError wil be displayed. | UtilityNetworkValidateTopologyViewModel | ||
The view model's state. | UtilityNetworkValidateTopologyViewModel | ||
Determines the utility network to use. | UtilityNetworkValidateTopologyViewModel | ||
The view from which the widget will operate. | UtilityNetworkValidateTopologyViewModel |
Property Details
-
executionError
executionError Stringreadonly
-
If the validation process fails, this property returns an error message. Otherwise, it is empty.
-
extentToValidate
extentToValidate String
-
Specifies the extent of the validation.
Possible Values:"current" |"entire"
- Default Value:current
-
loadErrors
loadErrors Collection<string>
-
If an error occurs during during validation a loadError wil be displayed.
-
state
state Stringreadonly
-
The view model's state.
Possible Values:"disabled" |"executing" |"failed" |"loading" |"ready" |"success"
- Default Value:ready
-
utilityNetwork
utilityNetwork UtilityNetwork
-
Determines the utility network to use.
-
view
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
-
Validates the network topology of the utility network.
- See also