Hi all!
How can I create multiple definition queries on the same layer using Python? I only know how to set one definition query and make it active with the following expression:
lyr.definitionQuery = definitionQueryString
I want to create multiple queries, in order to be able to select them via the drop down menu available in the Data tab of ArcGIS Pro.
I read that this could be possible by applying changes in the CIM, but I couldn't make it work.
Thank you in advance for your help!