Hi,
I'm trying to create a python script to automate the publishing of Map Services to a stand alone arcgis server. I've got a script working to publish the mapservices however, I get an error when I try and overwrite a Mapservice which also needs to be a Feature service. I have the overwrite flag in the definition to true, but I still get an error that tells me there is already a Feature Service with that name. Is there a setting I'm missing?
Edit: I've basically combined both elements of the 2 examples linked below, but it fails to overwrite the Feature service.
Solved! Go to Solution.
Never mind. Turns out to have been human error. I had the line to set the overwrite flag after the line to export the sdDraft.
Never mind. Turns out to have been human error. I had the line to set the overwrite flag after the line to export the sdDraft.