<?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: Can I define multiple definition queries for a single layer using python? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/1076269#M42993</link>
    <description>&lt;P&gt;I am sorry, but I didn't figure out how to create multiple queries on the same layer by reading your comment &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 14:00:29 GMT</pubDate>
    <dc:creator>PantelisKaniouras</dc:creator>
    <dc:date>2021-07-07T14:00:29Z</dc:date>
    <item>
      <title>Can I define multiple definition queries for a single layer using python?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/333222#M14516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am familiar with using python to get and/or set a (single) definition query for a map layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in Pro you can specify multiple different definition queries for a single layer (although only one, or none, can be active at any given time).&amp;nbsp; When I use the definitionQuery property of the layer object, I can get, or set, the currently active query.&lt;/P&gt;&lt;P&gt;But I would like to be able to create lots of different definition Queries for a given layer using python (and then get / set them using python as well).&amp;nbsp; Is there a way to do this that I'm missing?&lt;/P&gt;&lt;P&gt;We are getting around this at the moment by using python to create query expression (EXP) files and then importing them all in one go using the GUI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 12:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/333222#M14516</guid>
      <dc:creator>TobiSellekaerts</dc:creator>
      <dc:date>2020-08-07T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define multiple definition queries for a single layer using python?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/333223#M14517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my response in &lt;A href="https://community.esri.com/thread/241459-arcgis-pro-modifying-layer-definition-query-via-arcpy"&gt;https://community.esri.com/thread/241459-arcgis-pro-modifying-layer-definition-query-via-arcpy&lt;/A&gt; .&amp;nbsp; It is possible, you just need to use the CIM components.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 13:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/333223#M14517</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-08-07T13:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I define multiple definition queries for a single layer using python?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/1076269#M42993</link>
      <description>&lt;P&gt;I am sorry, but I didn't figure out how to create multiple queries on the same layer by reading your comment &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 14:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/can-i-define-multiple-definition-queries-for-a/m-p/1076269#M42993</guid>
      <dc:creator>PantelisKaniouras</dc:creator>
      <dc:date>2021-07-07T14:00:29Z</dc:date>
    </item>
  </channel>
</rss>

