<?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 Deleting/Updating Rows in Hosted Feature Service Using Cursors in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deleting-updating-rows-in-hosted-feature-service/m-p/1134401#M7014</link>
    <description>&lt;P&gt;I have a hosted feature service that I am trying to update with data from a local feature class. I'm trying to use cursors to search the hosted layer for IDs that exist in my local layer. I want to delete the rows found in the web layer, and&amp;nbsp;&lt;EM&gt;then&lt;/EM&gt; insert all the new data from my local layer.&lt;/P&gt;&lt;P&gt;I have had luck simply appending my local layer to the web layer in a few tests, but this still leaves the old rows with matching IDs. After some googling, cursors seem to be a viable option, but I can't get the delete function working on rows my SearchCursor finds.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jan 2022 17:39:49 GMT</pubDate>
    <dc:creator>kjseitz2</dc:creator>
    <dc:date>2022-01-17T17:39:49Z</dc:date>
    <item>
      <title>Deleting/Updating Rows in Hosted Feature Service Using Cursors</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deleting-updating-rows-in-hosted-feature-service/m-p/1134401#M7014</link>
      <description>&lt;P&gt;I have a hosted feature service that I am trying to update with data from a local feature class. I'm trying to use cursors to search the hosted layer for IDs that exist in my local layer. I want to delete the rows found in the web layer, and&amp;nbsp;&lt;EM&gt;then&lt;/EM&gt; insert all the new data from my local layer.&lt;/P&gt;&lt;P&gt;I have had luck simply appending my local layer to the web layer in a few tests, but this still leaves the old rows with matching IDs. After some googling, cursors seem to be a viable option, but I can't get the delete function working on rows my SearchCursor finds.&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 17:39:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deleting-updating-rows-in-hosted-feature-service/m-p/1134401#M7014</guid>
      <dc:creator>kjseitz2</dc:creator>
      <dc:date>2022-01-17T17:39:49Z</dc:date>
    </item>
  </channel>
</rss>

