<?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: ArcGIS Pro - Input types for CreateMobileMapPackage in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604547#M47255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the Pro 1.2 link &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm"&gt;Create Mobile Map Package—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2016 22:14:44 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-05-02T22:14:44Z</dc:date>
    <item>
      <title>ArcGIS Pro - Input types for CreateMobileMapPackage</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604546#M47254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the input types for the CreateMobileMapPackage function?&amp;nbsp; So far, I've only been able to get it to work with MXD files, however, I can't modify MXD files in ArcGIS Pro, which is the only version in which I can run the function.&amp;nbsp; This means I have to have two versions of ArcGIS open just to do simple modifications.&amp;nbsp; It's maddening.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me I'm missing something and it's really easy. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 22:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604546#M47254</guid>
      <dc:creator>GlennWilson1</dc:creator>
      <dc:date>2016-05-02T22:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro - Input types for CreateMobileMapPackage</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604547#M47255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the Pro 1.2 link &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/create-mobile-map-package.htm"&gt;Create Mobile Map Package—Data Management toolbox | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 22:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604547#M47255</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-05-02T22:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro - Input types for CreateMobileMapPackage</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604548#M47256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the page that gave me the original information for the mxd.&amp;nbsp; What wasn't readily apparent to me from the documentation was how to reference the current document in ArcGIS Pro.&amp;nbsp; The documentation says the input is a map or basemap to include in the mmpk, but it doesn't explicitly say how to reference the map or basemap.&amp;nbsp; I tried typing in the specific layer name, but that didn't work.&lt;/P&gt;&lt;P&gt;I gave it the .mxd file and it processed, thus my workflow of utilizing both ArcGIS versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only version of the file I had for ArcGIS Pro was the project file.&amp;nbsp; I eventually put it in model builder and realized that you can give it the name of a map tab and the process will work -- and that makes perfect sense in hindsight, but I'm still not sure how to best approach my problem.&amp;nbsp; But that's a topic for a different thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've done so far is to either use the model-builder to select the map and export it, or use the python command and pass the name of the map tab.&amp;nbsp; So for anyone else who's a Pro newbie like myself, if you create a new project named MyProject, and you have a map tab named Map1, you can use the model builder to select Map1, or you can utilize the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CreateMobileMapPackage_management (in_map, output_file, {in_locator}, {area_of_interest}, {extent}, {clip_features}, {title}, {summary}, {description}, {tags}, {credits}, {use_limitations})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and insert "Map1" in place of the in_map variable.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee; font-family: 'andale mono', times; font-size: 10pt;"&gt;arcpy.management.CreateMobileMapPackage("Map1", r"c:\data\mymap.mmpk", None, None, "DEFAULT", "SELECT", "My Map Title", "My Map's Summary", "Description", "tag1, tag2", "Credit Information", "Use Limitations")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also used it to generate a mmpk for a mxd file like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee; font-family: 'andale mono', times; font-size: 10pt;"&gt;arcpy.management.CreateMobileMapPackage(r"c:\data\mymap.mxd", r"c:\data\mymap.mmpk", None, None, "DEFAULT", "SELECT", "My Map Title", "My Map's Summary", "Description", "tag1, tag2", "Credit Information", "Use Limitations")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also click on a map tab, then under the Share toolbar, click Map file in the "Save as" group to save a mapx version of the map.&amp;nbsp; Then the documentation example given in Dan's link works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then utilize the following to generate the mmpk file for the mapx file you just created:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee; font-family: 'andale mono', times; font-size: 10pt;"&gt;arcpy.management.CreateMobileMapPackage(r"c:\data\mymap.mapx", r"c:\data\mymap.mmpk", None, None, "DEFAULT", "SELECT", "My Map Title", "My Map's Summary", "Description", "tag1, tag2", "Credit Information", "Use Limitations")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee; font-family: 'andale mono', times; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 13:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-input-types-for-createmobilemappackage/m-p/604548#M47256</guid>
      <dc:creator>GlennWilson1</dc:creator>
      <dc:date>2016-05-03T13:48:28Z</dc:date>
    </item>
  </channel>
</rss>

