Hi
I am able to create network diagram when I am using database connection from enterprise geodatabase. However, When I am adding the service for same it is not able to create the network diagram. the error says " 002930: Failed to create diagram".
I have checked thoroughly the database is branched version. The diagram template is visible at service rest endpoint. I am trying to create the network diagram at ArcGIS Pro. I have even tried opening the new aprx and then tried but still it didn't work.
Has anybody faced this before or this is the reported bug in ArcGIS Pro 3.5.3.
@RobertKrisher , Can you please help here.
Thank You
Regards
Raghav
Hey @RaghavGupta
In the error message, is there anything more with it? If you hit show history or similar? There should be some information that may gleam why this could be happening, also, are there any errors on the Server Manager or Portal logs when this happens?
Cody
Hello @RaghavGupta
Indeed, the diagram creation should properly complete whether you are consuming the input network elements via a direct connection or via the related service.
- Did you stop and restart the service after your diagram template configuration, then exit and restart Pro before testing the diagram generation?
- Also could you please make sure that you are trying to create your test diagram with the exact same input as the one you successfully tested via the direct connection?
Please let us know
Anne-Yvonne
Hello @AnneYvonneBlin
Please have a look at below points.
1.) I have tried stopping and restarting the services and I am able to create the diagram. However, there is no data coming in the diagram. The diagram shows Red exclamatory sign against each layer and says subtype value no longer valid.
Though We haven't change anything.
2.) I assure we are using the same input from services as with database connection.
Thanks
Raghav
@RaghavGupta: It looks like your diagram layer definition is out of using...
Could you please confirm this assumption by running the following workflow steps
1/ Load the Alter Diagram Template tool and set it up as below:
2/ Click Run
3/ Exit Pro
4/ Start your Server Manager and restart your service
5/ Start Pro with your UN service and retest your diagram creation
Could you please confirm that you no longer see any red exclamatory sign against each layer?
These default layer properties probably do not fit your expectations, but you should now be in a better shape and see the diagram features in the generated diagrams.
Then, to customize your diagram layer definition, please have a look to the following video: Defining Nice Layers for Better Network Diagrams
The diagram layer definition customization workflows detailed in this video are all run using a direct connection. If you have various diagram templates, it is strongly recommended to initialize the same diagram layer definition on each diagram template or at least, limit the number of various diagram layer definitions you initialized on your diagram templates.
Once this customization complete, do not forget to restart your service and start a new Pro session before testing.