Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a shapefile which I am loading to a DB using Model developed under MyToolbox.

At the same time, I would like to publish this as a Map Service in ArcGIS Server.

Is there any way to create .sddraft / .sd from the shapefile or feature class from the DB using ModelBuilder so that I can club these two and make it as single python script by exporting the model?

I am using ArcGIS 10.2 Desktop and 10.1 Server.

share|improve this question

1 Answer 1

You can use CreateMapSDDraft (arcpy.mapping) or Upload Service Definition (Server)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.