Select to view content in your preferred language

Provide arcpy equivalent to ArcGIS Pro "Share as Web Map"

2050
11
12-16-2022 10:14 AM
Status: Open
Labels (1)
DonMorrison1
Frequent Contributor

I have a map in ArcGIS pro that I can upload to ArcGIS online using the "Share as Web Map" dialog, which gives me various options for how I want the data copied (in my case it creates an ArcGIS Online web map and a feature layer).  I'd like to automate that in Python but having some trouble figuring out how to do it. 

 

BTW - I first raised this a a question so there is more discussion there

Tags (2)
11 Comments
DonMorrison1

@ATFerguson , sorry but the only way I've been able to do this is updating the Web Map JSON specification.  The parsing isn't too bad once you convert the JSON to a python dict, but still a bit messy.