Hi,
I use the automatic publishing procedure in arcpy (CreateMapSDDraft -> AnalyzeForSD -> ... -> etc etc) with great success.
My script creates a Feature Layer programmatically, wraps it in an mxd and publishes it to a local ArcGis server.
My question is this: I would like to automatically add feature templates to the resulting feature service.
I found no way to alter the feature templates in either the Layer or MapDocument in-memory objects.
Am I missing anything? Or is there no way to add feature template without manually using arcmap?
Thanks
I use the automatic publishing procedure in arcpy (CreateMapSDDraft -> AnalyzeForSD -> ... -> etc etc) with great success.
My script creates a Feature Layer programmatically, wraps it in an mxd and publishes it to a local ArcGis server.
My question is this: I would like to automatically add feature templates to the resulting feature service.
I found no way to alter the feature templates in either the Layer or MapDocument in-memory objects.
Am I missing anything? Or is there no way to add feature template without manually using arcmap?
Thanks