<?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 Feature Layers in ArcGIS Pro does not support DefinitionQuery using python (but used to?) in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/feature-layers-in-arcgis-pro-does-not-support/m-p/1028264#M38574</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an ArcGIS Pro (2.7) project set up that is using feature layers from AGOL. I then have a script tool and Notebook I have been using for a number of tasks including updating definition queries for a number of layers in several of the maps. This has been working fine until today. Today the same feature layers are&amp;nbsp; not updated or even allow definition queries. In the code to help troubleshoot we checked to see if the feature layer supports definition queries:&lt;/P&gt;&lt;P&gt;print(lyr.name, "", lyr.supports("DEFINITIONQUERY"))&lt;/P&gt;&lt;P&gt;and it returns false for a number of layers. It does work for updating the definition query in the tracks layer I have in the project.&lt;/P&gt;&lt;P&gt;I'm so perplexed on why the feature layers no longer support definition queries using python? I can manually do this in the project, but obviously this is not what I want.&lt;/P&gt;&lt;P&gt;I have tried several different feature layer services and I'm running into the same issue. These are ones I shared thru ArcGIS Pro to AGOL, but the script/definition query was working last week. What could cause this change in the feature layer service for the layer to return a 'false' on supporting DEFINITIONQUERY?????&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 21:49:16 GMT</pubDate>
    <dc:creator>kmsmikrud</dc:creator>
    <dc:date>2021-02-18T21:49:16Z</dc:date>
    <item>
      <title>Feature Layers in ArcGIS Pro does not support DefinitionQuery using python (but used to?)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/feature-layers-in-arcgis-pro-does-not-support/m-p/1028264#M38574</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an ArcGIS Pro (2.7) project set up that is using feature layers from AGOL. I then have a script tool and Notebook I have been using for a number of tasks including updating definition queries for a number of layers in several of the maps. This has been working fine until today. Today the same feature layers are&amp;nbsp; not updated or even allow definition queries. In the code to help troubleshoot we checked to see if the feature layer supports definition queries:&lt;/P&gt;&lt;P&gt;print(lyr.name, "", lyr.supports("DEFINITIONQUERY"))&lt;/P&gt;&lt;P&gt;and it returns false for a number of layers. It does work for updating the definition query in the tracks layer I have in the project.&lt;/P&gt;&lt;P&gt;I'm so perplexed on why the feature layers no longer support definition queries using python? I can manually do this in the project, but obviously this is not what I want.&lt;/P&gt;&lt;P&gt;I have tried several different feature layer services and I'm running into the same issue. These are ones I shared thru ArcGIS Pro to AGOL, but the script/definition query was working last week. What could cause this change in the feature layer service for the layer to return a 'false' on supporting DEFINITIONQUERY?????&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 21:49:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/feature-layers-in-arcgis-pro-does-not-support/m-p/1028264#M38574</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2021-02-18T21:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Layers in ArcGIS Pro does not support DefinitionQuery using python (but used to?)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/feature-layers-in-arcgis-pro-does-not-support/m-p/1034941#M38883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wanted to provide an update in case anyone else experienced this issue. I submitted a tech support case and it was found that for ArcGIS Pro 2.7 there was a bug as described below.&lt;/P&gt;&lt;P&gt;The bug below is now fixed in version 2.7.2&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BUG-000137782.&lt;/LI&gt;&lt;LI&gt;Synopsis =&amp;nbsp;Feature layers in ArcGIS Pro no longer honors the (.definitionQuery) property for the existing layers in the project if no definition query is assigned to it.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 10 Mar 2021 15:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/feature-layers-in-arcgis-pro-does-not-support/m-p/1034941#M38883</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2021-03-10T15:32:26Z</dc:date>
    </item>
  </channel>
</rss>

