orzar

Is there anyway to programmatically create feature templates?

Discussion created by orzar on Jan 12, 2014
Latest reply on Jan 14, 2014 by hua17
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

Outcomes