<?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 Overwriting hosted feature layers on AGOL - scripts for settings ? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/overwriting-hosted-feature-layers-on-agol-scripts/m-p/315761#M24565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to successfully overwrite my hosted feature layers on AGOL using scripts &lt;A class="link-titled" href="https://github.com/arcpy/update-hosted-feature-service" title="https://github.com/arcpy/update-hosted-feature-service"&gt;GitHub - arcpy/update-hosted-feature-service: Update and overwrite a hosted feature service on ArcGIS.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However after the overwriting I still need to re-set the settings for my feature layers to&amp;nbsp;&lt;/P&gt;&lt;DIV data-dojo-attach-point="_changeTrackingContainer" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;LABEL data-dojo-attach-point="_changeTrackingLabel" style="color: #595959; font-size: 0.9375rem; margin: 0px 0px 0.25rem;"&gt;1/ Keep track of created and updated features.&lt;/LABEL&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;LABEL class="" data-dojo-attach-point="_enableTrackEditsLabel" style="color: #595959; font-size: 0.9375rem; margin: 0px 0px 0.25rem;"&gt;2/ Keep track of who created and last updated features.&lt;/LABEL&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;3/&amp;nbsp;&lt;SPAN style="color: #595959;"&gt;Allow others to export to different formats.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="color: #595959;"&gt;Any help is greatly appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="color: #595959;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 14:48:54 GMT</pubDate>
    <dc:creator>helenchu</dc:creator>
    <dc:date>2017-12-20T14:48:54Z</dc:date>
    <item>
      <title>Overwriting hosted feature layers on AGOL - scripts for settings ?</title>
      <link>https://community.esri.com/t5/python-questions/overwriting-hosted-feature-layers-on-agol-scripts/m-p/315761#M24565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to successfully overwrite my hosted feature layers on AGOL using scripts &lt;A class="link-titled" href="https://github.com/arcpy/update-hosted-feature-service" title="https://github.com/arcpy/update-hosted-feature-service"&gt;GitHub - arcpy/update-hosted-feature-service: Update and overwrite a hosted feature service on ArcGIS.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However after the overwriting I still need to re-set the settings for my feature layers to&amp;nbsp;&lt;/P&gt;&lt;DIV data-dojo-attach-point="_changeTrackingContainer" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;LABEL data-dojo-attach-point="_changeTrackingLabel" style="color: #595959; font-size: 0.9375rem; margin: 0px 0px 0.25rem;"&gt;1/ Keep track of created and updated features.&lt;/LABEL&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;LABEL class="" data-dojo-attach-point="_enableTrackEditsLabel" style="color: #595959; font-size: 0.9375rem; margin: 0px 0px 0.25rem;"&gt;2/ Keep track of who created and last updated features.&lt;/LABEL&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;3/&amp;nbsp;&lt;SPAN style="color: #595959;"&gt;Allow others to export to different formats.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="color: #595959;"&gt;Any help is greatly appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="color: #595959;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 14:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwriting-hosted-feature-layers-on-agol-scripts/m-p/315761#M24565</guid>
      <dc:creator>helenchu</dc:creator>
      <dc:date>2017-12-20T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting hosted feature layers on AGOL - scripts for settings ?</title>
      <link>https://community.esri.com/t5/python-questions/overwriting-hosted-feature-layers-on-agol-scripts/m-p/315762#M24566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the ArcGIS REST API there is mention of how to &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Update_Definition_Feature_Service/02r30000021z000000/"&gt;Update Definition (Feature Service)&lt;/A&gt;&amp;nbsp;and &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Update_Definition_Feature_Layer/02r30000022p000000/"&gt;Update Definition (Feature Layer)&lt;/A&gt;.&amp;nbsp; In your workflow, I would suggest that you copy and save the&amp;nbsp;desired&amp;nbsp;settings from the service/layer you are updating, overwrite the service and then use the saved settings make any final tweaks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 19:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwriting-hosted-feature-layers-on-agol-scripts/m-p/315762#M24566</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2017-12-20T19:57:15Z</dc:date>
    </item>
  </channel>
</rss>

