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