ArcGIS Pro 3.0.1: The “add error layers” option is grayed out despite the fact that the validation attribute field is configured,
As per the screenshots below, I couldn’t figure out why the “add error layers” option is grayed out despite the fact that the validation attribute field is configured
What might be the issue here?
I encountered the same issue on ArcGIS Pro 3.0.1 after creating a new attribute rule in FGDB. I got the menu enabled after restarting ArcGIS Pro. It seems it does not recognize the addition of attribute rules until I restart.
After that I tried this on Enterprise GDB by creating a new attribute rule there, and I also encountered the same issue. However, this time restarting ArcGIS Pro did not help.
Hope esri experts can offer help on this
I faced similar issue recently, these are the steps that I followed to add the error layers to the map.
I was having issues with this but I figured out today that once you add an error layer to your project, it is always in your geodatabase unless you specifically delete it from there. Just removing it from the content pane does not delete it.
Also, an error layer works for all feature classes in the project, you don't need to add one for each feature class. So if you add error layer for feature x but then delete those attribute rules and now want to create attribute rules for feature y, you can just leave the same error layer in your map and as long as you are saving your edits it will update the error layer with feature y's errors.
I don't know if that is your issue or not but I would wager you had added an error layer already and probably just removed it from your contents pane. Since it already exists in your geodatabase, you don't need to (in fact can't) add another one. You just need to find the error layer in your geodatabase and re-add it to your map.
Today I encountered the same issue. the solution is as;
after defining the attribute rules on the feature class in your database you need to execute the "Evaluate Rule" geoprocessing tool. then the Add Error layer will be activated.
I found another instance where the "Add Error Layers" option will be greyed out in the menu. If you add layers to the map using "Add Data" > "Subtype Group Layer", the option to Add Error Layers is not available. You have to temporarily add one of the layers directly from Catalog, then right-click on that layer in the TOC to be able to add the error layers.
This issue has been resolved in ArcGIS Pro 3.5. When you create attribute rule error datasets for the first time in your geodatabase by adding a new batch calculation or validation rule in a class or table, you can add that class directly to the map, right click on the layer in the Contents Pane, and select Add Error Layers.
If you're using an older version of ArcGIS Pro and the Add Error Layers option is grayed out and save your project and restart ArcGIS Pro. Then go back and right click on the layer you wish to add error layers to and the option should be clickable as long as the geodatabase contains error datasets. For Enterprise Geodatabases this requires publishing error layers in a branch versioned feature service by reference with the validation capability enabled.
Please see the documentation here for additional information: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/evaluate-attribute-rules.ht...