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 executed from either a utility network or trace network in a file geodatabase or a database connection to the utility network in an enterprise geodatabase. When working with a utility network in an enterprise geodatabase, you can't work from a service.
- For the case of a database connection to the utility network in an enterprise geodatabase, you must connect using the credentials of the database utility network owner.
- When working with a database connection to the utility network in an enterprise geodatabase, you must sign in to your ArcGIS Enterprise portal using the credentials of the portal utility network owner.
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 in an enterprise geodatabase, sign in to your ArcGIS Enterprise portal using the credentials of the portal utility network owner.
- 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 geodatabase, add the file geodatabase to the project.
- When working with a utility network in an enterprise geodatabase, add the database connection file to the project or create a new one.
Caution:
Make sure the utility network is registered as branch versioned and you are connecting using the credentials of the database utility network owner.
- 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.