<?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: Via only ArcGIS API for python script, Is there a way to publish/overwrite an ArcGIS Online MMPK file? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826419#M3033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your reply, Josh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look at your script and give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mariette&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mariette Shin&lt;/P&gt;&lt;P&gt;Information Systems Analyst III - GIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marin Municipal Water District&lt;/P&gt;&lt;P&gt;220 Nellen Avenue&lt;/P&gt;&lt;P&gt;Corte Madera, CA 94925&lt;/P&gt;&lt;P&gt;t 415-945-1443&lt;/P&gt;&lt;P&gt;mshin@marinwater.org&amp;lt;mailto:mshin@marinwater.org&amp;gt;&lt;/P&gt;&lt;P&gt;Follow us on the Web&amp;lt;http://www.marinwater.org&amp;gt;, Twitter&amp;lt;http://twitter.com/thinkbluemarin&amp;gt;, Facebook&amp;lt;http://facebook.com/marinwater&amp;gt;, Nextdoor&amp;lt;https://bit.ly/mmwd-nextdoor&amp;gt;, and our Blog&amp;lt;http://www.marinwater.org/blog&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2019 17:19:24 GMT</pubDate>
    <dc:creator>MarietteShin</dc:creator>
    <dc:date>2019-10-03T17:19:24Z</dc:date>
    <item>
      <title>Via only ArcGIS API for python script, Is there a way to publish/overwrite an ArcGIS Online MMPK file?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826417#M3031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have manually been publishing an Mobile Map Package (.mmpk) within ArcGIS Pro 2.2 using the "Share Mobile Map" interface. However, I update this same .mmpk every month, and have been trying to figure out how to use ArcGIS API for python to update/publish/overwrite the my mmpk file on ArcGIS Online, but have been unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do NOT have Portal/Enterprise. We only have ArcGIS Online. Is there a way to do this? If so, would someone provide a sample for this?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 22:20:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826417#M3031</guid>
      <dc:creator>MarietteShin</dc:creator>
      <dc:date>2019-08-12T22:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Via only ArcGIS API for python script, Is there a way to publish/overwrite an ArcGIS Online MMPK file?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826418#M3032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've only used this in Portal, but the API documentation seems to&amp;nbsp;indicate that the same process I use ought to work for AGOL. See my answer on the Portal version of this question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/234003-update-mmpk-on-portal-through-python-api"&gt;https://community.esri.com/thread/234003-update-mmpk-on-portal-through-python-api&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll obviously need to tweak my 2nd line to connect to AGOL instead of Portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited to add:&lt;/P&gt;&lt;P&gt;I update the .mmpk itself by using &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;arcpy.management.CreateMobileMapPackage&lt;/SPAN&gt; then get it into Portal using the above.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" 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 Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you're in AGOL, I'm pretty sure the&amp;nbsp;function below could work if you didn't feel like loading both arcpy and arcgis modules:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/PRO-APP/TOOL-REFERENCE/DATA-MANAGEMENT/share-package.htm" title="https://pro.arcgis.com/en/PRO-APP/TOOL-REFERENCE/DATA-MANAGEMENT/share-package.htm"&gt;Share Package—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I couldn't get the above to work in Portal. I think it only works for Portal if you run it within Pro itself.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 16:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826418#M3032</guid>
      <dc:creator>JoshAndreas</dc:creator>
      <dc:date>2019-10-03T16:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Via only ArcGIS API for python script, Is there a way to publish/overwrite an ArcGIS Online MMPK file?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826419#M3033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your reply, Josh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look at your script and give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mariette&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mariette Shin&lt;/P&gt;&lt;P&gt;Information Systems Analyst III - GIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marin Municipal Water District&lt;/P&gt;&lt;P&gt;220 Nellen Avenue&lt;/P&gt;&lt;P&gt;Corte Madera, CA 94925&lt;/P&gt;&lt;P&gt;t 415-945-1443&lt;/P&gt;&lt;P&gt;mshin@marinwater.org&amp;lt;mailto:mshin@marinwater.org&amp;gt;&lt;/P&gt;&lt;P&gt;Follow us on the Web&amp;lt;http://www.marinwater.org&amp;gt;, Twitter&amp;lt;http://twitter.com/thinkbluemarin&amp;gt;, Facebook&amp;lt;http://facebook.com/marinwater&amp;gt;, Nextdoor&amp;lt;https://bit.ly/mmwd-nextdoor&amp;gt;, and our Blog&amp;lt;http://www.marinwater.org/blog&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 17:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/via-only-arcgis-api-for-python-script-is-there-a/m-p/826419#M3033</guid>
      <dc:creator>MarietteShin</dc:creator>
      <dc:date>2019-10-03T17:19:24Z</dc:date>
    </item>
  </channel>
</rss>

