<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script Mobile Map Package Update in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1195110#M65056</link>
    <description>&lt;P&gt;Any updates on getting this to work?&amp;nbsp; Also trying to have a standalone python script - package and upload mmpk to ArcGIS online.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 20:29:37 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-07-22T20:29:37Z</dc:date>
    <item>
      <title>Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392728#M31074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;I have a mobile map package which i created in pro, however i will want to refresh the data.&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;What is the syntax for setting the input map conatined within the project&amp;nbsp;to create a mobile map package?&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;For example using the python console in pro mine would be as follows:&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;arcpy.management.CreateMobileMapPackage("Map Title", r"J:\path\PackageName.mmpk", None, None, "DEFAULT", "SELECT", "Title", "Summary", '&amp;lt;DIV STYLE="text-align:Left;font-size:12pt"&amp;gt;&amp;lt;P&amp;gt;&amp;lt;SPAN&amp;gt;Sewer Network&amp;lt;/SPAN&amp;gt;&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;', "Sewers", None, None, "STANDARD")&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;This works perfectly, however i want to run a script where i don't have to be in the Python console in Pro.&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;The code sample in this help article&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;for a stand alone script is as follows:&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;arcpy.management.CreateMobileMapPackage( [&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;r"C:\data\Basemap1.mapx"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;r"C:\data\Map1.mapx"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;], outputfile,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #aa0d91; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;None&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;r"\\share\layers\AreaOfInterest.lyrx"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"DEFAULT"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"CLIP"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"Title"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"Summary"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"description"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"Tag"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"Credits"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"Use"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"STANDARD"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"ENABLE_MAP_EXPIRATION"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"DONOT_ALLOW_TO_OPEN"&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;, expiration_date,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #c41a16; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline;"&gt;"This map is expired. Contact the map publisher for an updated map."&lt;/SPAN&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;but the input is a map file, how do i set the input to be a map within a project? &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; min-height: 8pt; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; text-align: left; color: #3d3d3d; text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 15px; font-style: normal; font-weight: 400; word-spacing: 0px; vertical-align: baseline; white-space: normal; orphans: 2; widows: 2; background-color: #ffffff; text-decoration-color: initial; font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial;"&gt;&lt;SPAN style="margin: 0px; padding: 0px; outline: 0px !important; border: 0px currentColor; color: #595959; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; vertical-align: baseline; background-color: #f8f8f8;"&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 14:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392728#M31074</guid>
      <dc:creator>CiaranHiggins1</dc:creator>
      <dc:date>2020-01-15T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392729#M31075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If arcpy is open, then you will be using the "CURRENT" project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/mapping/arcgisproject.htm"&gt;ArcGISProject—ArcPy | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 15:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392729#M31075</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-01-15T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392730#M31076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response Dan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could be doing soemthinre really silly. I am trying to do this as a standalone script so ArcGIS Pro would not be open. What i tried was as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.management.CreateMobileMapPackage(r"J:\PathtoProject\Project.aprx"), r"J:\PathtoMapPackage\SewerNetwork.mmpk", None, None, "DEFAULT", "SELECT", "Sewer Network", "Sewer Network", '&amp;lt;DIV STYLE="text-align:Left;font-size:12pt"&amp;gt;&amp;lt;P&amp;gt;&amp;lt;SPAN&amp;gt;Sewer Network&amp;lt;/SPAN&amp;gt;&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;', "Sewers", None, None, "STANDARD")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this does not work. I also tried the following:&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;aprx = arcpy.mp.ArcGISProject(r"J:\PathtoProject\Project.aprx")&lt;BR /&gt;arcpy.management.CreateMobileMapPackage("Sewer Network", r"J:\PathtoMapPackage\SewerNetwork.mmpk", None, None, "DEFAULT", "SELECT", "Sewer Network", "Sewer Network", '&amp;lt;DIV STYLE="text-align:Left;font-size:12pt"&amp;gt;&amp;lt;P&amp;gt;&amp;lt;SPAN&amp;gt;Sewer Network&amp;lt;/SPAN&amp;gt;&amp;lt;/P&amp;gt;&amp;lt;/DIV&amp;gt;', "Sewers", None, None, "STANDARD")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also does not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 15:54:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/392730#M31076</guid>
      <dc:creator>CiaranHiggins1</dc:creator>
      <dc:date>2020-01-15T15:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1128194#M63306</link>
      <description>&lt;P&gt;Did you ever get a resolution to this? I am trying to do the same thing and am currently working with ESRI technical services to find a solution. I'm even trying after grabing the ArcGIS Pro Project, I'm diving in deeper with the map object. You can get this through the .listmaps() method. When plugging this in it still seems to fail. I see the opportunity to export a map to .mapx. Is that really the solution here though? To export to .mapx first in order to do a .mmpk export? There has got to be a smoother way.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 23:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1128194#M63306</guid>
      <dc:creator>ericmeyers_cob</dc:creator>
      <dc:date>2021-12-21T23:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1195110#M65056</link>
      <description>&lt;P&gt;Any updates on getting this to work?&amp;nbsp; Also trying to have a standalone python script - package and upload mmpk to ArcGIS online.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 20:29:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1195110#M65056</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-07-22T20:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script Mobile Map Package Update</title>
      <link>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1293012#M67729</link>
      <description>&lt;P&gt;I am also running into this situation. I believe the correct workflow would be:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use "Create mobile map package" geoprocessing tool&lt;/LI&gt;&lt;LI&gt;Use "Share package" and input the mmpk created from step 1&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Share package will overwrite the existing package if it has the same name.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 13:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-mobile-map-package-update/m-p/1293012#M67729</guid>
      <dc:creator>tiztrain</dc:creator>
      <dc:date>2023-05-25T13:03:44Z</dc:date>
    </item>
  </channel>
</rss>

