<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple Definition Queries on the same layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1077125#M61639</link>
    <description>&lt;P&gt;Thank you for your reply. Unfortunately, I have already read the contents of the first two URLs but I couldn't find the answer in there. I will start reading the scripts you sent one by one in case I can find the solution to my problem. Enjoy the rest of your day.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 06:24:44 GMT</pubDate>
    <dc:creator>pkaniouras</dc:creator>
    <dc:date>2021-07-09T06:24:44Z</dc:date>
    <item>
      <title>Multiple Definition Queries on the same layer</title>
      <link>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1076633#M61624</link>
      <description>&lt;P&gt;Hi all!&lt;BR /&gt;&lt;BR /&gt;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:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;lyr.definitionQuery = definitionQueryString&lt;/LI-CODE&gt;&lt;P&gt;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.&lt;BR /&gt;&lt;BR /&gt;I read that this could be possible by applying changes in the CIM, but I couldn't make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 08:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1076633#M61624</guid>
      <dc:creator>pkaniouras</dc:creator>
      <dc:date>2021-07-08T08:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition Queries on the same layer</title>
      <link>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1077090#M61635</link>
      <description>&lt;P&gt;multiple definition queries are supported but only one can be active at a time&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/definition-query.htm" target="_blank"&gt;Filter features with definition queries—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and setting/getting the query is done through CIM apparently&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layer-class.htm" target="_blank"&gt;Layer—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;not tried and I couldn't find any in their examples published for Pro 2.5&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=8772f61319584882bb697ba003030636" target="_blank"&gt;ArcGIS Pro 2.5 CIM Samples V1 - Overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I don't see more recent version for python on the code sharing site or their github&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 02:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1077090#M61635</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-09T02:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition Queries on the same layer</title>
      <link>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1077125#M61639</link>
      <description>&lt;P&gt;Thank you for your reply. Unfortunately, I have already read the contents of the first two URLs but I couldn't find the answer in there. I will start reading the scripts you sent one by one in case I can find the solution to my problem. Enjoy the rest of your day.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 06:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/multiple-definition-queries-on-the-same-layer/m-p/1077125#M61639</guid>
      <dc:creator>pkaniouras</dc:creator>
      <dc:date>2021-07-09T06:24:44Z</dc:date>
    </item>
  </channel>
</rss>

