<?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>idea ArcPy.Mapping &amp;quot;Update Layer&amp;quot; - Support Definition Query in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mapping-quot-update-layer-quot-support/idi-p/949157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using the UpdateLayer function in ArcPyMapping, please add a parameter for the &lt;STRONG&gt;definition_query&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This parameter could be set to true, false.&lt;/P&gt;&lt;P&gt;True - to update the definition query using the source_layer.&lt;BR /&gt;False - to leave the definition query of the update_layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would allow the symbology of a layer to be updated, while leaving the existing definition query.&lt;BR /&gt;This would be extremely useful in a mapbooks environment (a layer is used for different layouts/scale pages with different layer definition queries).&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 00:23:03 GMT</pubDate>
    <dc:creator>RachelLerm2</dc:creator>
    <dc:date>2010-10-13T00:23:03Z</dc:date>
    <item>
      <title>ArcPy.Mapping "Update Layer" - Support Definition Query</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mapping-quot-update-layer-quot-support/idi-p/949157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using the UpdateLayer function in ArcPyMapping, please add a parameter for the &lt;STRONG&gt;definition_query&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This parameter could be set to true, false.&lt;/P&gt;&lt;P&gt;True - to update the definition query using the source_layer.&lt;BR /&gt;False - to leave the definition query of the update_layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would allow the symbology of a layer to be updated, while leaving the existing definition query.&lt;BR /&gt;This would be extremely useful in a mapbooks environment (a layer is used for different layouts/scale pages with different layer definition queries).&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/UpdateLayer/00s30000003p000000/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 00:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mapping-quot-update-layer-quot-support/idi-p/949157</guid>
      <dc:creator>RachelLerm2</dc:creator>
      <dc:date>2010-10-13T00:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPy.Mapping "Update Layer" - Support Definition Query - Status changed to: Already Offered</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mapping-quot-update-layer-quot-support/idc-p/1689447#M37768</link>
      <description>&lt;P&gt;Closing this ArcMap issue.&amp;nbsp; There is a solution in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;We made great improvements in Pro concerning definition queries (DQs). &amp;nbsp;Pro layers now support multiple DQs and our API allows you to not only change a DQ (like ArcMap could), but also add multiple DQs and set the active DQ. &amp;nbsp;Much of this is mentioned in the help via the following Layer members&lt;/P&gt;&lt;P&gt;Layer.&lt;SPAN&gt;definitionQuery &amp;nbsp;- in ArcMap and Pro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Layer.listDefinitionQueries ({wildcard}) &amp;nbsp;- new in Pro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Layer.updateDefinitionQueries (definitionQueries) - new in Pro&lt;/SPAN&gt;&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;NOTE - Pro does NOT have an UpdateLayer. &amp;nbsp;Our model has changed quite a bit. &amp;nbsp;There is a similar, but different method in Pro:&lt;/P&gt;&lt;P&gt;Layer.pasteProperties (which has an option to paste all properties or limited collections, including DQs).&amp;nbsp; The list of options is in the Layer help link above.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 17:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-mapping-quot-update-layer-quot-support/idc-p/1689447#M37768</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2026-03-09T17:12:38Z</dc:date>
    </item>
  </channel>
</rss>

