Skip to main content

Export Diagram Content (Network Diagram Tools)

Summary

Exports diagram content in a simple format (JSON) that reflects basic connectivity. Additional optional information such as diagram properties, diagram feature geometry, network element attributes, and aggregated elements can also be exported.

Note:

The input network or diagram layer can be from a utility network or trace network in a file or mobile geodatabase, a utility network service, a trace network service, or a database connection to a utility network or trace network in an enterprise geodatabase.

License:

The active portal account must be assigned a license with the ArcGIS Advanced Editing user type extension to use this tool in an enterprise deployment.

Learn more about exporting diagram content

Usage

  • The exported .json file can be used for network calculation and analysis or to feed external systems.

    Learn more about the output JSON response syntax

  • When exporting diagram content with attributes, attributes with coded domain values can be exported as either raw values or string descriptions.

Parameters

Label Explanation Data type

Input Network or Network Diagram Layer

The utility network or trace network layer, utility network or trace network data element, or network diagram layer related to the network diagram to export.

Utility Network; Trace Network; Utility Network Layer; Trace Network Layer; Diagram Layer

Network Diagram Name

The name of the network diagram to export.

String

Output File

The output .json file that will be created with the exported diagram content.

File

Include diagram properties

(Optional)

Specifies whether the diagram properties will be exported.

  • CheckedThe diagram properties (statistics, creation and update dates, and so on) will be exported.

  • UncheckedThe diagram properties will not be exported. This is the default.

Boolean

Include geometries

(Optional)

Specifies whether the geometry of the diagram features will be exported.

  • CheckedEach diagram feature will be exported with its geometry.

  • UncheckedEach diagram feature will be exported without its geometry. This is the default.

Boolean

Include attributes

(Optional)

Specifies whether the attributes of the associated network elements will be exported.

  • CheckedThe associated network element attributes will be exported.

  • UncheckedThe associated network element attributes will not be exported. This is the default.

Boolean

Include aggregations

(Optional)

Specifies whether each diagram feature will be exported with a list of network elements it aggregates.

  • CheckedEach diagram feature will be exported with a list of network elements it aggregates with their asset group and asset type values.

  • UncheckedThe diagram feature aggregations will not be exported. This is the default.

Boolean

Use domain and subtype descriptions

(Optional)

Specifies how coded domain and subtype values will be exported. This parameter is only enabled when the Include attributes or Include aggregations parameters are checked.

  • CheckedCoded domain and subtype values will be exported using their string descriptions rather than raw values.

  • UncheckedCoded domain and subtype values will be exported as raw values. This is the default.

Boolean

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes