Monday 7 January 2019

Publishing map from ArcGIS Pro to ArcGIS Server as Map Service?


As a comment on an Esri blog post entitled Announcing the ArcGIS Pro beta program last May someone named mahenderraj asked:



I presume that it is not possible to share the map as a mapservice to ArcGIS server from ArcGIS Pro. For that we have to use the regular ArcMap Desktop product.



I do not seem to have seen an answer to this, and in the ArcGIS Pro 1.0 interface it seems easy to publish maps to ArcGIS Online or Portal for ArcGIS but ArcGIS Server gets no mention.


Is it possible to publish a map from ArcGIS Pro to ArcGIS Server as a Map Service?



Answer



The functionality to publish map services via Python using CreateSharingDraft has been implemented in version ArcGIS Pro 2.3:




Creates a MapServiceDraft from a Map in an ArcGIS Pro project.



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...