Hello all,
just have a few questions, if you guys can help much is appreciated. I wanted to see if it's possible the create a map service, then publish it to ArcGIS Server without creating an .mxd file using Python/Arcpy?
script pseudo:
- connect to db
- grab the fc/table
- load said fc/table to map document, set parameters i.e. don't show zoom beyond 1:1,000,000
- use CreateMapSDdraft to create sddraft from said fc/table
- analyze the sddraft file
- then publish the sddraft file with ArcPy UploadServiceDefinitionserver
Would the above workflow be possible without needing to create a .mxd and saving it in a file directory?