AnsweredAssumed Answered

Fully automate manual ArcGIS Pro [Share -> Web Map] workflow

Question asked by LvanderBurgt_TensingInternational on Oct 21, 2018
Latest reply on Nov 12, 2018 by LvanderBurgt_TensingInternational

Dear all,

 

What I would like to accomplish is automate the entire publication process from a map inside an ArcGIS Pro aprx project to a Portal web map including all other dependent items. Python is my preferred implementation language.

 

Im using ArcGIS Pro 2.2.3 and ArcGIS Enterprise 10.6.1

 

So far I have been able to publish the underlying web (feature or image) layers by creating a SDDraft and a Service Definition (SD) by leveraging arcpy.

 

However, the missing part is automatically converting my Pro Map into an ArcGIS Portal web map.

When I look at the Staging folder on my local machine during manual publising I can see that a web map JSON document is being created (it can be done ..).

From this I conclude that ArcGIS Pro generates the Web Map configuration behind the scenes and publishes this to the Portal.

 

I would like to implement this part as well so my entire workflow is automated. Unfortunately I have not been able to find any arcpy or Python API functionality to achieve this task.

 

The Pro Map into an ArcGIS Portal web map conversion process could be implemented by listing all properties from the Pro map configuration. This is not my preferred approach and I am looking for a more straight forward approach.

 

Thanks for any help working this out!

Outcomes