Export Trace Configurations (Utility Network Tools)
Summary
Exports named trace configurations from a utility network to JSON format (.json file).
This tool can be used in conjunction with the Import Trace Configurations tool.
Usage
When working with an enterprise geodatabase, the following apply:
- The Input Utility Network parameter value must be from a utility network service.
Note:
The Input Utility Network parameter value can be from a database connection established as the database utility network owner when connected as the portal utility network owner or a portal account with the administrator role.
The portal utility network owner can view and export any named trace configuration in the utility network. Other users can only view and export the named trace configurations they create.
The information in the
.jsonfile is stored in the following format:[ { "creator": "<property representing the connected portal account on creation>", "name": "<property representing the name for the named trace configuration>", "description": "<property representing the description of the named trace configuration>", "traceType": <property representing the trace type>, "configuration": <property representing the collection of trace configuration parameters>, "resultTypes": "[<property representing the types of results to return>]", "tags": "<property representing user provided tags>" } ]Example JSON from a utility network using the Export Trace Configurations tool:
[ { "creator": "portaladmin_un", "name": "Connected_RMT002_A", "description": "Connected trace on subnet RMT002", "traceType": 1, "configuration": "{"includeBarriers":true,"validateConsistency":true,"ignoreBarriersAtStartingPoints":false,"allowIndeterminateFlow":false,"shortestPathNetworkAttributeName":"","traversabilityScope":"junctionsAndEdges","conditionBarriers":[],"functionBarriers":[],"functions":[],"outputFilters":[],"outputConditions":[],"pathDirection":"noDirection"}", "resultTypes": "[{"type":"elements","includeGeometry":false,"includePropagatedValues":false,"networkAttributeNames":[],"diagramTemplateName":"","resultTypeFields":[]},{"type":"aggregatedGeometry","includeGeometry":false,"includePropagatedValues":false,"networkAttributeNames":[],"diagramTemplateName":"","resultTypeFields":[]}]", "tags": "["connected","RMT002"]" } ]
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Utility Network |
The utility network containing the named trace configuration or configurations to export. |
Utility Network; Utility Network Layer |
|
Trace Configuration |
The named trace configuration or configurations to export. |
String |
|
Output File (.json) |
The output |
File |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes