To reset the diagram layer definition currently set for a diagram template, use the Alter Diagram Template tool.
Requirements and prerequisites
The requirements and prerequisites for resetting the diagram layer definition on a template are as follows:
- This operation must be run from either a utility network or trace network in a file or mobile geodatabase, or a database connection to the utility network or trace network in an enterprise geodatabase. When working with a utility network or trace network in an enterprise geodatabase, you can't work from a service.
- For the case of a database connection to a utility network or trace network in an enterprise geodatabase, you must connect using the credentials of the database network owner; that is, using the database utility network owner or database trace network owner credentials.
- When working with a database connection to a utility network or trace network in an enterprise geodatabase, you must sign in to your ArcGIS Enterprise portal using the credentials of the portal network owner; that is, using the portal utility network owner or portal trace network owner credentials.
Reset the diagram layer definition on your diagram template
To reset the diagram layer definition on a diagram template, complete the following steps:
- Start ArcGIS Pro.
- When working with a utility network or trace network in an enterprise geodatabase, sign in to your ArcGIS Enterprise portal using the credentials of the portal network owner—that is, using the portal utility network owner or portal trace network owner credentials.
- Load your project or create one.
- Depending on the geodatabase you want to work with, do one of the following:
- When working with a utility network or trace network in a file or mobile geodatabase, add the file or mobile geodatabase to the project.
- When working with a utility network or trace network in an enterprise geodatabase, add the database connection file to the project or create one.
Caution:
Make sure the utility network or trace network is registered as branch versioned and you are connecting using the credentials of the database network owner—that is, using the database utility network owner or database trace network owner credentials.
- Search for Alter Diagram Template in the Geoprocessing pane Search box and open the Alter Diagram Template tool.
- Click the drop-down arrow next to the Input Network field, browse to your geodatabase item, and select the network layer.
- In the Input Diagram Template list, select the template for which you want to reset the diagram layer definition to default.
- Check the Reset the diagram template layer definition to default check box.
- Click Run.
A default diagram layer definition is restored on the input diagram template.
Caution:
When consuming the network through a service, an additional step is required to make the modified diagram template fully operational on the network service: connect to your ArcGIS Server and stop and restart this service.