What is the equivalent of arcpy.mapping.CreateMapSDDraft in arcpy.mp when I need to automate the publishing of a raster dataset or large vector dataset as a Map Image to ArcGIS For Portal? Looks like this is missing from arcpy.mp and I can only publish Feature or Tile with arcpy.mp.CreateWebLayerSDDraft.
people should also have a read through this... it is not a 1:1 mapping of functionality, it is different
Migrating from arcpy.mapping to ArcGIS Pro—ArcPy | ArcGIS for Desktop
CreateWebLayerSDDraft—ArcPy | ArcGIS for Desktop in Pro...
Converts a map, layer, or list of layers in an ArcGIS Project to a Service Definition Draft (.sddraft) file
CreateMapSDDraft—Help | ArcGIS for Desktop ArcMap
Converts Map Document (.mxd) files to Service Definition Draft (.sddraft) files.
Sounds like the functionality is similar in terms of output, but Pro seems to be offering different options, which may reflect its movement/dependence(?) on arcgis online.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.