Select to view content in your preferred language

Electric basic diagram not part of default if I use Feature Service (only exist in electric data management demo)

221
3
05-15-2025 06:54 AM
RomuldKiobya
Regular Contributor

In the Electric Data Management Demo, if I want to create a network diagram, there are many drop-down lists when I click NEW, use data from the FGDB. After the team created a feature service for our project, we want to create a network diagram. But unfortunately,  when I click the new,  Electric Basic diagram not part ofthe default. 

I asked the local Esri office, only said it needs configuration. I need help because a basic electric diagram is like single single-line diagram.

0 Kudos
3 Replies
AnneYvonneBlin
Esri Contributor

Hi @RomuldKiobya 

Any diagram template used as a subnetwork template is no longer available in the New Diagram drop down list when you are consuming a service in ArcGIS Pro. In your case, the Electric Basic template is set as a subnetwork template for one or multiple tiers.
To learn more about subnetwork system diagrams and subnetwork diagram templates, please first read the following resources:

 

In your situation, there are two scenarios

A - You don't care about generating subnetwork system diagrams
In this case, run the following steps

1/ Disable the network topology

2/ Load the Set Subnetwork Definition tool

    • Select each Domain Network\Tier Name
    • Remove Electric Basic in the Subnetwork Diagram Template where it is set
    • Run

3/ Repeat Step# 2 for each Domain Network\Tier Name where Electric Basic is configured as a Subnetwork Diagram Template

4/ Enable network topology

5/ Restart your service.

RESULT: Electric Basic is now available under the New drop down list when consuming your service in ArcGIS Pro.

 

B - You want to keep Electric Basic as a subnetwork system template but also want to have a similar Basic template to manually generate Basic diagrams on demand

1/ Load the Export Diagram Template Definitions tool and export the both Rule and Layout Definitions and Layer Definition files for the Electric Basic template

  • Input Diagram Template: Electric Basic,
  • Output Rule and Layout Definitions File: ElectriBasicRuleAndLayout.ndbd,
  • Output Diagram Layer Definition File: ElectriBasicRuleAndLayout.ndld

2/ Run the Add Diagram Template tool to create another template with the name you want based on the same definitions, for example:

  • Diagram Template Name: Basic Diagrams,
  • Rule and Layout Definitions File: ElectriBasicRuleAndLayout.ndbd
  • Diagram Layer Definition File: ElectriBasicRuleAndLayout.ndld

3/ Restart your service

RESULT: The new template you created as Basic Diagrams is now available under the New drop down list when consuming your service in ArcGIS Pro.

 

Hopping this helps

Thanks

Anne-Yvonne

0 Kudos
RomuldKiobya
Regular Contributor

I don't understand what you have said. Let me create another QN, with a screenshot of two versions of the UN FOUNDATION, after processing the Asset package by using the Asset package in the Geodatabase tool.

0 Kudos
AnneYvonneBlin
Esri Contributor

@RomuldKiobya 

In your 1st post, you said:
1/ "In the Electric Data Management Demo, if I want to create a network diagram, there are many drop-down lists when I click NEW, use data from the FGDB"
=> With a FGDB, the NEW drop down list shows all the diagram templates available for the utility network dataset.

2/ "After the team created a feature service for our project, we want to create a network diagram. But unfortunately,  when I click the new,  Electric Basic diagram not part of the default."
=> When working with a feature service, the NEW drop down list doesn’t show all the diagram templates related to the utility network dataset. The subnetwork diagram templates are not listed, they are always hidden.
You can easily verify if the Electric Basic template is a subnetwork diagram template or not. To do so, open the Utility Network Properties dialog and click the Network Diagrams tab on the left.  Search for the Electric Basic template row. You should notice that IsSystem = True for this template row.
Regards
Anne-Yvonne

0 Kudos