Hi
I Need to convert existing MPK file to MMPK.
when i try to importDocument i get OSError.
this is the script:
p = arcpy.mp.ArcGISProject(r"path to aprx")
p.importDocument(r"Path to mpk")
is this correct?
Edit: I've tried using CreateMobileMapPackage directly, it worked but only part of the mpk was converted to mmpk with the script:
arcpy.management.CreateMobileMapPackage([mpkFileInputPath], mmpkOutputFilePath)
whats the right way converting mpk to mmpk?
any advice will be appreciated
Under the Useage section of create-mobile-map-package , there are some listed limitations. Do any apply to you?
well after few tries in arcgis pro, i found the problem is the default extent,
even when i configure the extent as Union of inputs it wont fix the problem,
the only thing that helped is configuring the extent manually,
any idea why?
Were the data all in the same coordinate system to begin with?
yep, its mpk with 12 layers of a city, with WGS 1984 coordinate system
No reported bugs... one of life's mysteries then