<?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: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827136#M3057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to do the same thing through ArcGIS Python API. I succeeded in changing the 'Keep track of who created and last updated features' through an update definition call using the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I was unable to locate the property that defines &lt;INPUT data-dojo-attach-point="_enableChangeTracking" style="color: #4c4c4c; background-color: #ffffff; border: 1px solid #a9a9a9; font-size: 0.9375rem; margin: 0.135rem 0.125rem 0px; padding: 0px 0.31rem;" type="checkbox" /&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;Keep track of created and updated features .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;What should I do to enable that property?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2018 08:17:17 GMT</pubDate>
    <dc:creator>WengNg1</dc:creator>
    <dc:date>2018-08-15T08:17:17Z</dc:date>
    <item>
      <title>How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827132#M3053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update settings on a feature layer that I have published from ArcPro.&amp;nbsp; It appears that I cannot set&amp;nbsp; "&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;Keep track of created and updated features" or "&lt;SPAN&gt;Keep track of who created and last updated features." in Pro.&amp;nbsp; So I have to set these by hand in ArcGIS Online in the layer settings under "Feature Layer (hosted) Settings"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;SPAN&gt;I have to do this for many layers, so it would be great to automate the process.&amp;nbsp; Is this possible in ArcGIS API for Python?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/398970_editing.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 01:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827132#M3053</guid>
      <dc:creator>NathanielEvatt</dc:creator>
      <dc:date>2018-03-16T01:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827133#M3054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can perform an `update_definition` operation to set these properties. You can refer here for an example:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/updating-feature-layer-properties/#Update-definition" title="https://developers.arcgis.com/python/guide/updating-feature-layer-properties/#Update-definition"&gt;Service definitions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827133#M3054</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-03-16T14:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827134#M3055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Atma.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very useful.&amp;nbsp; I was able to change the "&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;Keep track of who created and last updated features." value with the 'update_definition' call on "enableEditorTracking".&amp;nbsp; However, the properties don't seem to change at all whether "&lt;SPAN&gt;Keep track of created and updated features." is checked or not.&amp;nbsp; Do you know if this property does anything?&amp;nbsp; Is it connected to&amp;nbsp;"enableEditorTracking"?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;&lt;SPAN&gt;Nat&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 17:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827134#M3055</guid>
      <dc:creator>NathanielEvatt</dc:creator>
      <dc:date>2018-03-19T17:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827135#M3056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't quite understand what you said. In case you meant: "the web app, will check or uncheck a group of options if one is checked, but the Python API does not do that", then yes, you should expect this. The web app has client side logic to do this. The Python API on the other hand leaves it to you to update the definition of related properties. If&amp;nbsp;you try to perform an unsupported operation, the server will reject it and respond with an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 02:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827135#M3056</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-03-22T02:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827136#M3057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to do the same thing through ArcGIS Python API. I succeeded in changing the 'Keep track of who created and last updated features' through an update definition call using the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I was unable to locate the property that defines &lt;INPUT data-dojo-attach-point="_enableChangeTracking" style="color: #4c4c4c; background-color: #ffffff; border: 1px solid #a9a9a9; font-size: 0.9375rem; margin: 0.135rem 0.125rem 0px; padding: 0px 0.31rem;" type="checkbox" /&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;Keep track of created and updated features .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #ffffff;"&gt;What should I do to enable that property?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 08:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827136#M3057</guid>
      <dc:creator>WengNg1</dc:creator>
      <dc:date>2018-08-15T08:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Feature Layer (hosted) Settings through ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827137#M3058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get the option ticked in the AGOL interface, "ChangeTracking" needs to be added in the capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;update_dict&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"capabilities"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Query,ChangeTracking"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
flc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;manager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;update_definition&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;update_dict&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be aware that python API is only a wrapper around the REST API, to find the full list of properties supported, you need look into the REST API document which gives you a better chance, it's not guaranteed that you will find all the properties corresponding to the options on the AGOL interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to &lt;A _jive_internal="true" href="https://community.esri.com/thread/If the property does not exist, it's equivalent to having a value of false or not set." target="_blank"&gt;ESRI document&lt;/A&gt;, "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;If the property does not exist, it's equivalent to having a value of false or not set."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-edit-feature-layer-hosted-settings-through/m-p/827137#M3058</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2021-12-12T09:57:48Z</dc:date>
    </item>
  </channel>
</rss>

