I created a definition query (in this example, "don't include driveways") but driveways still show up in the symbology window. They don't render on the map or show up in the underlying table so that part is working. Is the symbology pane ignoring the definition query? What am I missing?
Thanks,
Tycho
Solved! Go to Solution.
This looks like BUG-000097344 - Symbolizing a layer by unique values where the layer has a definition query applied, and the field to be symbolized has a domain applied, returns all values from the domain rather than only the values that satisfy the layer's definition query. It's in the Product Plan to be fixed. Just not sure when.
As mentioned by Robert, this is a known bug with ArcGIS Pro.
You could just right-click the symbol > Remove (till the bug is fixed)
What release of ArcGIS Pro are you using? I'm using 2.7.3. I did a similar workflow on an eGDB feature class with a definition query and it did not show in the symbology pane.
Hmm..2.7.3 as well. I'll make a new Project and see if the behavior is just in this one.
It looks like the symbology pane does not like my definition queries being based on domains. If I base it on a field without a domain (even within the same FC) it works as expected.
Interesting. Has your domain values been validated? Meaning all the field values are in the domain. And no NULL values?
This looks like BUG-000097344 - Symbolizing a layer by unique values where the layer has a definition query applied, and the field to be symbolized has a domain applied, returns all values from the domain rather than only the values that satisfy the layer's definition query. It's in the Product Plan to be fixed. Just not sure when.
Could you click on "Add all values" icon in symbology pane, and check if the values refresh to exclude the driveways?
I did "add all values" to refresh it, no change.
There are no nulls. I haven't validated in awhile, I will check to see if any bad entries have snuck in.
As mentioned by Robert, this is a known bug with ArcGIS Pro.
You could just right-click the symbol > Remove (till the bug is fixed)
Thanks, guys. I would've been banging my head on this one for awhile 🙂