<?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 How to change web map &amp;quot;Offline Mode&amp;quot; and &amp;quot;Offline: Advanced Options&amp;quot;? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1084735#M6421</link>
    <description>&lt;P&gt;I'm looking to replicate a web map's switch for "Enable offline mode" via&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ArcGIS Python API, but am not having much luck figuring out how. All I can find are options for managing actual offline areas, which I do not want to do. Seems like this should be a simple option:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_0-1627768735191.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19860i6F3696094FC0D401/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_0-1627768735191.png" alt="GB_MattPanunto_GISS_0-1627768735191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, I'm also wanting to change the "Offline: Advanced Options". I found&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html?highlight=offline#arcgis.mapping.OfflineMapAreaManager.offline_properties" target="_self" rel="nofollow noopener noreferrer"&gt;this documentation&lt;/A&gt;, but it doesn't seem to be working for me. When I submit a dictionary key and value, as shown below, all I get is&amp;nbsp;"TypeError: 'dict' object is not callable". Am I doing something wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;webmap_obj.offline_areas.offline_properties({"download":"features"})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_1-1627768774529.png" style="width: 528px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19861iE465AABC83769ABF/image-dimensions/528x516?v=v2" width="528" height="516" role="button" title="GB_MattPanunto_GISS_1-1627768774529.png" alt="GB_MattPanunto_GISS_1-1627768774529.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 22:00:39 GMT</pubDate>
    <dc:creator>GB_MattPanunto_GISS</dc:creator>
    <dc:date>2021-07-31T22:00:39Z</dc:date>
    <item>
      <title>How to change web map "Offline Mode" and "Offline: Advanced Options"?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1084735#M6421</link>
      <description>&lt;P&gt;I'm looking to replicate a web map's switch for "Enable offline mode" via&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ArcGIS Python API, but am not having much luck figuring out how. All I can find are options for managing actual offline areas, which I do not want to do. Seems like this should be a simple option:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_0-1627768735191.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19860i6F3696094FC0D401/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GB_MattPanunto_GISS_0-1627768735191.png" alt="GB_MattPanunto_GISS_0-1627768735191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, I'm also wanting to change the "Offline: Advanced Options". I found&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html?highlight=offline#arcgis.mapping.OfflineMapAreaManager.offline_properties" target="_self" rel="nofollow noopener noreferrer"&gt;this documentation&lt;/A&gt;, but it doesn't seem to be working for me. When I submit a dictionary key and value, as shown below, all I get is&amp;nbsp;"TypeError: 'dict' object is not callable". Am I doing something wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;webmap_obj.offline_areas.offline_properties({"download":"features"})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GB_MattPanunto_GISS_1-1627768774529.png" style="width: 528px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19861iE465AABC83769ABF/image-dimensions/528x516?v=v2" width="528" height="516" role="button" title="GB_MattPanunto_GISS_1-1627768774529.png" alt="GB_MattPanunto_GISS_1-1627768774529.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 22:00:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1084735#M6421</guid>
      <dc:creator>GB_MattPanunto_GISS</dc:creator>
      <dc:date>2021-07-31T22:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change web map "Offline Mode" and "Offline: Advanced Options"?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1179811#M7452</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/187023"&gt;@GB_MattPanunto_GISS&lt;/a&gt;&amp;nbsp;were you able to figure out how to switch the "Offline Mode" on/off? I was having the same issue recently, any time I updated my webmaps using the python api, the "Offline Mode" would automatically switch to off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to preserve the original web map configuration using the following update syntax...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;web_map_obj.update({'typeKeywords': ",".join(wm_item.typeKeywords)})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was also able to manually set the setting with a similar update syntax...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;web_map_obj.update({'typeKeywords':'ArcGIS Online, CollectorDisabled, Data Editing, Explorer Web Map, Map, Offline, Online Map, useOnly, Web Map'})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The important part for the "Offline Mode" toggle is to have "Offline" in the typeKeywords.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 14:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1179811#M7452</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2022-06-03T14:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change web map "Offline Mode" and "Offline: Advanced Options"?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1179914#M7458</link>
      <description>&lt;P&gt;That works! Thanks,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160149"&gt;@MarkEastwood&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;For clarity, the update method used is for the arcgis.mapping.Webmap module.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 19:42:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1179914#M7458</guid>
      <dc:creator>vpelleritoCritigen</dc:creator>
      <dc:date>2022-06-03T19:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change web map "Offline Mode" and "Offline: Advanced Options"?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1375527#M9593</link>
      <description>&lt;P&gt;Hi, did this ever get reported as a bug or go anywhere? We are experiencing this, where even if the map has "Offline" in its keywords, if we update with the Python API it removes it. We are going to use your workaround to prevent this (thank you!) but this certainly is not expected behavior...&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 17:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-change-web-map-quot-offline-mode-quot-and/m-p/1375527#M9593</guid>
      <dc:creator>jtmouw_NCDOT</dc:creator>
      <dc:date>2024-01-29T17:24:46Z</dc:date>
    </item>
  </channel>
</rss>

