<?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: Overwriting feature layer from SEDF produces unwated files in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1548596#M10765</link>
    <description>&lt;P&gt;This is a bug we have fixed. What version of the python api are you using?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 10:13:55 GMT</pubDate>
    <dc:creator>NanaeAubry</dc:creator>
    <dc:date>2024-10-15T10:13:55Z</dc:date>
    <item>
      <title>Overwriting feature layer from SEDF produces unwated files</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1542974#M10707</link>
      <description>&lt;P&gt;I have a script that updates an existing feature layer on AGOL with new data every hour. I used to use a process that truncated the layer, then added new data using something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;featurelayer.layers[0].edit_features(adds=sedf.spatial.to_featureset()) &lt;/LI-CODE&gt;&lt;P&gt;Recently this stopped working, throwing a 413 error, so as a workaround I changed the update process to:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sedf.spatial.to_featurelayer(overwrite=True, service={"featureServiceId": "xyzxyzxyzxyzx", "layer":0})&lt;/LI-CODE&gt;&lt;P&gt;This works for updating the layer but each time it runs it adds two unwanted objects to AGOL, a file geodatabase and an associated feature layer.&lt;/P&gt;&lt;P&gt;Is there a way to stop these files/layers being created when using the overwrite option? Or a way to identify which files have been created so the script can delete then when it has finished overwriting the existing feature layer?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 09:55:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1542974#M10707</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2024-09-26T09:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting feature layer from SEDF produces unwated files</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1548596#M10765</link>
      <description>&lt;P&gt;This is a bug we have fixed. What version of the python api are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 10:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1548596#M10765</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-10-15T10:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting feature layer from SEDF produces unwated files</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1548605#M10767</link>
      <description>&lt;P&gt;I'm using v2.2.0.1&lt;/P&gt;&lt;P&gt;When was the fix introduced?&lt;/P&gt;&lt;P&gt;And what's the best place to find release annoucements to track what has changed between releases?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 10:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1548605#M10767</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2024-10-15T10:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting feature layer from SEDF produces unwated files</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1575837#M11061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/533912"&gt;@A_Schwab&lt;/a&gt;&amp;nbsp;- this fix was introduced with v2.4.0.&lt;/P&gt;&lt;P&gt;Any time we release a new version of the ArcGIS API for Python, we include &lt;A href="https://developers.arcgis.com/python/latest/guide/release-notes-240/" target="_self"&gt;full release notes&lt;/A&gt;, as well as a &lt;A href="https://www.esri.com/arcgis-blog/products/api-python/announcements/whats-new-in-arcgis-api-for-python-2-4-0-blog/" target="_self"&gt;"what's new" blog&lt;/A&gt; that summarizes big ticket items and main themes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasGiner1_0-1736955899647.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/123402i8D3E9F1CB922BD5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasGiner1_0-1736955899647.png" alt="NicholasGiner1_0-1736955899647.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Nick Giner - Product Manager&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 15:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/overwriting-feature-layer-from-sedf-produces/m-p/1575837#M11061</guid>
      <dc:creator>NicholasGiner1</dc:creator>
      <dc:date>2025-01-15T15:45:30Z</dc:date>
    </item>
  </channel>
</rss>

