Feature Service Update using ESRI Python Script Error

3279
1
09-27-2013 04:56 PM
Honolulu_Land_Information_Syst
New Contributor III
I used the ESRI Python Script to update our Bikeways Feature Service. 

http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python...

I made the changes to the Python Script. Set up the MXD and Data accordingly. Ran the Script and then got the error

Item 68......4849K45L Bikeways (Feature Service) Already exists.
Bikeways was not created


I left my workstation for an hour. When I returned I checked the Feature Service and it had Updated But had given the Feature Service a NEW ID !!!!!! Now Web Maps and Apps that were created will have to be re referenced

I tried to find the description page with the old ID BUT The item is now DELETED.

Had used the scipt to make a test Feature service with another data set (Roads) and it worked perfect.

What is the solution to restore the Bikeways Feature Service before this update

This is the ITEM ID
http://cchnl.maps.arcgis.com/home/item.html?id=48a35f10822947ebb6af5b0fd7c5b435
Tags (2)
0 Kudos
1 Reply
AndrewChapkowski
Esri Regular Contributor

Check out ArcREST, it allows you to update/remove/delete/add features on an existing feature service without changing the ID.

www.github.com/Esri/ArcRESt

0 Kudos