AnsweredAssumed Answered

Stage Service writes to wrong folder

Question asked by cliveswan on Dec 20, 2019
Latest reply on Dec 20, 2019 by c_jermoore@PA.LCL_PADeptAG

The ArcGIS Pro Stage Service example ( works, but it writes to Hosted folder??


# Share to portal
print("Uploading Service Definition...")
arcpy.UploadServiceDefinition_server(sd_output_filename, "My Hosted Services")


I modified the following code from  "My Hosted Services" to "Maps".

The .sd file is published to the "Hosted" folder NOT the "Maps" folder??


How do I set the Folder to Maps??


Appreciate any assistance.