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 |
---|---|---|---|
Number | Returns dirty area count if using Utility Network Verison 3, otherwise will return 0. more details | ValidateNetworkTopologyResult | |
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. more details | ValidateNetworkTopologyResult | |
Boolean | If | ValidateNetworkTopologyResult | |
Boolean | If the current feature service contains no dirty areas, full update will return true. more details | ValidateNetworkTopologyResult | |
Date | The date/timestamp (in UTC) when the validate process was executed. more details | ValidateNetworkTopologyResult | |
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. more details | ValidateNetworkTopologyResult | |
Boolean | If error features are created during the validation process validateErrorsCreated will be true. more details | ValidateNetworkTopologyResult |
Property Details
-
dirtyAreaCount NumberDeprecated 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 Verison 3, otherwise will return 0.
-
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 Boolean
-
If
maxRecordCount
is configured for a layer,exceededTransferLimit
will betrue
if a query matches more than themaxRecordCount
features. It will befalse
otherwise.
-
fullUpdate Boolean
-
If the current feature service contains no dirty areas, full update will return true.
-
moment Date
-
The date/timestamp (in UTC) when the validate process was executed.
-
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 Boolean
-
If error features are created during the validation process validateErrorsCreated will be true.
Type Definitions
-
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 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).