Pro 2.7, ArcMap 10.5.1, ArcGIS Enterprise Portal 10.6, API for Python
I'm happy with arcgis.gis.mapping webmap() class etc. but was wondering if there's an offline way to get what the web map JSON would look like if I added a map image service/map service published from an MXD/APRX to a new blank Web Map.
Essentially take an MXD/APRX and spit out what the Web Map JSON would look like.
I guess I could create the Web Map in Pro then just turn it into a webmap object, or MXD to webmap for my MXDs, but it's not ideal.
Thanks as always.