Hello,
I would like to share the data from Water Utility Network Solution (custom data not the sample data), but when I open the Sharing dialog I am missing there the option for Validation Service -
Wouldn´t you have any idea, where to look to I would be able to publish is correctly? What settings I could miss? Data should be set correctly:
Thank you for any tips!
Solved! Go to Solution.
Make sure you've met all the criteria for sharing dataset with attribute rules. The two most common problems I see are that the error layers are missing from the map being used to publish the service, or in some cases, the datasets being shared don't have any attribute rules configured. If in your custom model you have removed all the validation attribute rules then you will not have an option to enable the validation capability (you will also not have the ability to add the error layers to your map).
Before we dig too much deeper, the map you're using to publish your feature service should not include subtype group layers. Services published in this way have a number of known issues with them that cause various tools and popups to not display information properly.
The validation capability on the service refers to the ability to evaluate attribute rules and requires that you publish a service with error layers (the greyed out piece you referred to above). The "Add Error Layers" command isn't enabled on branch versioned data database connections, only on branch versioned services. In your case you will need to manually add the error layers to your map.
By adding these layers to your map, that option will become available (assuming you've also met all the other prereqs).
Managing dirty areas and running the "Validate Network Topology" command are a capability of the utility network that is automatically added when you publish a feature service that includes a utility network.
Make sure you've met all the criteria for sharing dataset with attribute rules. The two most common problems I see are that the error layers are missing from the map being used to publish the service, or in some cases, the datasets being shared don't have any attribute rules configured. If in your custom model you have removed all the validation attribute rules then you will not have an option to enable the validation capability (you will also not have the ability to add the error layers to your map).
Thank you @RobertKrisher, for answer, by Error layers do you mean the Errors/Dirty Areas created with Enabling Topology or the Error layers which can be added from TOC from the Asset group subtype?
The latter mentioned is greyed out in my case. But all the rules should works, I kept the default - just import custom Asset package created based on the default one
But the editing errors in the map (before the topology is enabled - the errors raised by running the Enable Topology with option to show errors only) worked fine, as well as the validation - run by the enable topology tools again, so I hope everything should be fine there.
Before we dig too much deeper, the map you're using to publish your feature service should not include subtype group layers. Services published in this way have a number of known issues with them that cause various tools and popups to not display information properly.
The validation capability on the service refers to the ability to evaluate attribute rules and requires that you publish a service with error layers (the greyed out piece you referred to above). The "Add Error Layers" command isn't enabled on branch versioned data database connections, only on branch versioned services. In your case you will need to manually add the error layers to your map.
By adding these layers to your map, that option will become available (assuming you've also met all the other prereqs).
Managing dirty areas and running the "Validate Network Topology" command are a capability of the utility network that is automatically added when you publish a feature service that includes a utility network.
Thank you @RobertKrisher, give me a day or two please, I deleted all and starting everything from scratch and I won´t go directly from AssetPackage, but via Single User FGDB prototype to migrate data to Services without errors in topology.
Actually ... at ArcGIS Pro 3.3 and ArcGIS Enterprise 11.3 you should be able to check the validation box without the layers in the map. Doing so will actually cause an analyzer error that tells you which layers are missing and gives you a context menu option to add them to your map.
See example below