Skip to content
import ValidateNetworkTopologyResult from "@arcgis/core/rest/networks/support/ValidateNetworkTopologyResult.js";
Inheritance:
ValidateNetworkTopologyResultAccessor
Subclasses:
TopologyValidationJobInfo
Since
ArcGIS Maps SDK for JavaScript 4.26

Class that holds the returned object after running the Network.validateTopology() method.

Example
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
});

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

discoveredSubnetworks

Property
Type
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.

exceededTransferLimit

Property
Type
boolean | null | undefined

If maxRecordCount is configured for a layer, exceededTransferLimit will be true if a query matches more than the maxRecordCount features. It will be false otherwise.

fullUpdate

Property
Type
boolean

If the current feature service contains no dirty areas, full update will return true.

Default value
false

moment

autocast Property
Type
Date | null | undefined

The date/timestamp (in UTC) when the validate process was executed.

serviceEdits

Property
Type
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

Property
Type
boolean

If error features are created during the validation process validateErrorsCreated will be true.

Default value
false

Methods

MethodSignatureClass
fromJSON
inherited static
fromJSON(json: any): any
toJSON
inherited
toJSON(): any

fromJSON

inheritedstatic Method
Signature
fromJSON (json: any): any
Inherited from: JSONSupportMixin

Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product. The object passed into the input json parameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. See the Using fromJSON() topic in the Guide for details and examples of when and how to use this function.

Parameters
ParameterTypeDescriptionRequired
json
any

A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.

Returns
any

Returns a new instance of this class.

toJSON

inherited Method
Signature
toJSON (): any
Inherited from: JSONSupportMixin

Converts an instance of this class to its ArcGIS portal JSON representation. See the Using fromJSON() guide topic for more information.

Returns
any

The ArcGIS portal JSON representation of an instance of this class.

Type definitions

ValidateServiceEdits

Type definition

ValidateServiceEdits represents the layerId and editedFeatures.

layerId

Property
Type
number

The layerId of the layer with ServiceEdits.

editedFeatures

Property
Type
object | undefined

The 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).

Subnetwork

Type definition

The Subnetwork object represents the domain name, tier name, and subnetwork via fulfilling the promise returned from running the Network.validateTopology() function.

domain

Property
Type
string

The domain name.

tier

Property
Type
string

The tier name.

subnetwork

Property
Type
string

The subnetwork name.