require(["esri/rest/networks/support/ValidateNetworkTopologyResult"], (ValidateNetworkTopologyResult) => { /* code goes here */ });
import ValidateNetworkTopologyResult from "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
esri/rest/networks/support/ValidateNetworkTopologyResult
Class that holds the returned object after running the Network.validateTopology() method.
const extent = new Extent({
xmin: 470789.0888,
ymin: 3597733.2051,
xmax: 531454.2759999996,
ymax: 3639864.802100001,
spatialReference: { wkid: 26911, latestWkid: 26911 }
});
const validateNetworkTopologyResult = await network.validateTopology({
validateArea: extent
});
Property Overview
Name | Type | Summary | Object |
---|---|---|---|
Returns dirty area count if using Utility Network Version 3, otherwise will return 0. | ValidateNetworkTopologyResult | ||
Contains information about the subnetworks that are marked as dirty during the validation process, along with the domain network and tier containing the subnetwork. | ValidateNetworkTopologyResult | ||
If | ValidateNetworkTopologyResult | ||
If the current feature service contains no dirty areas, full update will return true. | ValidateNetworkTopologyResult | ||
The date/timestamp (in UTC) when the validate process was executed. | ValidateNetworkTopologyResult | ||
The serviceEdits returns full features including the original features prior to delete, the original and current features for updates, and the current rows for inserts, which may contain implicit changes. | ValidateNetworkTopologyResult | ||
If error features are created during the validation process validateErrorsCreated will be true. | ValidateNetworkTopologyResult |
Property Details
-
dirtyAreaCount
dirtyAreaCount Number
Deprecated since version 4.28. Dirty area count was implemented in the original version of utility network, but as of schema version 4 of the utility network, this is no longer supported. -
Returns dirty area count if using Utility Network Version 3, otherwise will return 0.
-
discoveredSubnetworks
discoveredSubnetworks Subnetwork[]
-
Contains information about the subnetworks that are marked as dirty during the validation process, along with the domain network and tier containing the subnetwork.
-
exceededTransferLimit
exceededTransferLimit Boolean
-
If
maxRecordCount
is configured for a layer,exceededTransferLimit
will betrue
if a query matches more than themaxRecordCount
features. It will befalse
otherwise.
-
fullUpdate
fullUpdate Boolean
-
If the current feature service contains no dirty areas, full update will return true.
-
moment
moment Date
-
The date/timestamp (in UTC) when the validate process was executed.
-
serviceEdits
serviceEdits ValidateServiceEdits[]
-
The serviceEdits returns full features including the original features prior to delete, the original and current features for updates, and the current rows for inserts, which may contain implicit changes.
-
validateErrorsCreated
validateErrorsCreated Boolean
-
If error features are created during the validation process validateErrorsCreated will be true.
Type Definitions
-
Subnetwork
Subnetwork Object
-
The Subnetwork object represents the domain name, tier name, and subnetwork via fulfilling the promise returned from running the Network.validateTopology() function.
-
ValidateServiceEdits
ValidateServiceEdits Object
-
ValidateServiceEdits represents the layerId and editedFeatures.
- Properties
-
layerId Number
The layerId of the layer with ServiceEdits.
editedFeatures EditedFeaturesThe editedFeatures object returns full features including the original features prior to delete, the original and current features for updates, and the current rows for inserts, which may contain implicit changes (for example, as a result of a calculation rule).