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 then insert all the new data from my local layer.
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.
Any help is appreciated!