import ValidateNetworkTopologyResult from "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
const ValidateNetworkTopologyResult = await $arcgis.import("@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js");
@arcgis/core/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 |
|---|---|---|---|
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
-
discoveredSubnetworks
PropertydiscoveredSubnetworks Subnetwork[] |null |undefined -
Contains information about the subnetworks that are marked as dirty during the validation process, along with the domain network and tier containing the subnetwork.
-
If
maxRecordCountis configured for a layer,exceededTransferLimitwill betrueif a query matches more than themaxRecordCountfeatures. It will befalseotherwise.
-
fullUpdate
PropertyfullUpdate Boolean -
If the current feature service contains no dirty areas, full update will return true.
-
The date/timestamp (in UTC) when the validate process was executed.
-
serviceEdits
PropertyserviceEdits ValidateServiceEdits[] |null |undefined -
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
PropertyvalidateErrorsCreated Boolean -
If error features are created during the validation process validateErrorsCreated will be true.
Type Definitions
-
Subnetwork
Type DefinitionSubnetwork Object -
The Subnetwork object represents the domain name, tier name, and subnetwork via fulfilling the promise returned from running the Network.validateTopology() function.
-
ValidateServiceEdits
Type DefinitionValidateServiceEdits Object -
ValidateServiceEdits represents the layerId and editedFeatures.
- Properties
-
layerId Number
The layerId of the layer with ServiceEdits.
optionaleditedFeatures 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).