Take the 2-minute tour ×
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)

http://resources.arcgis.com/en/help/main/10.1/index.html#//00540000001p000000

share|improve this answer

Your Answer

 
discard

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.