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:
whats the right way converting mpk to mmpk?
any advice will be appreciated
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?