ArcPro has greatly enhanced definition queries through the ability to store multiple queries within the layer properties and ease of use through the query builder.
In our workflow, we have several layers that participate in various projects. We use definition queries to view only the data for the project we are currently working in, however, we store multiple queries within each layer property. For example, a single layer may have a query labeled "Project A", another named "Project B" and so on.
The current options to "turn off" or "toggle off" queries is to either (1) go into each layer properties and toggle off the query (2) set a task that clears all queries or (3) create a button using python to clear all queries. While 2 & 3 do serve to turn off all queries, these options remove the queries all together requiring the user to re-build queries or have previously saved the query to an external file and then reload.
Having a button, similar to the "clear selected features", which would "toggle off" all queries in a aprx would be a valuable way to manage multiple layers with multiple queries in the layer properties. This option would allow the user to ensure no queries are active without having to go into each layer and without having to rebuild queries.
You should be able to select multiple layers in the Content pane and set their definition query to None from the Data contextual ribbon tab like below
When multiple layers are selected in the Contents pane, this control shows all definition queries with the same from all selected layers. That allows you to quickly switch definition queries for multiple layers quickly.
Do you think that will help with your workflow?
Thanks
Tanu
This works thank you
thank you @mejohnson22
With that I'm closing it as Already Offered.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.