According to this article ArcGIS Help 10.1
Modify SDDraft example 4
The KML is known as KML SERVER
but if I want to edit the feature access with arcpy do I do this?
# The Server Object Extension (SOE) to disable.
soe = 'FeatureAccessServer'
# Read the sddraft xml.
doc = DOM.parse(sddraft)
# Find all elements named TypeName. This is where the server object extension (SOE) names are defined.
typeNames = doc.getElementsByTagName('TypeName')
for typeName in typeNames:
# Get the TypeName we want to disable.
if typeName.firstChild.data == soe:
extension = typeName.parentNode
for extElement in extension.childNodes:
# Disabled SOE.
if extElement.tagName == 'Enabled':
extElement.firstChild.data = 'false'
Is there a place in the documentation where they have the name stated?
I thought it would be the same for GP but is some what diff
ArcGIS Help 10.1
I also posted it on StackoverFlow with no help given Here is the link
arcgis desktop - How to edit the capabilities with python when publishing map services - Geographic ...