<?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: Enable Offline Mode - Tile Layer(hosted) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1179845#M7455</link>
    <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following code in the api documentation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;from arcgis.mapping import VectorTileLayer
from arcgis.gis import GIS

# connect to your GIS and get the tile layer item
gis = GIS(url, username, password)

vector_layer_item = gis.content.get('abcd_item-id')
vector_tile_layer = VectorTileLayer.fromitem(vector_layer_item)
vtl_manager = vector_tile_layer.manager
vtl_manager.edit_tile_service(min_scale = 50, max_scale = 100, export_tiles_allowed = True, max_export_tile_count = 10000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like I should be able to toggle the "Offline Mode" switch by setting the export_tiles_allowed argument to True/False. This syntax is working and edits the min_scale, max_scale, and max_export_tile_count.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not updating the export_tiles_allowed argument. Any ideas?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2022 16:42:18 GMT</pubDate>
    <dc:creator>MarkEastwood</dc:creator>
    <dc:date>2022-06-03T16:42:18Z</dc:date>
    <item>
      <title>Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1009869#M5322</link>
      <description>&lt;P&gt;Is there anyway to enable offline mode for a tile layer using the python api?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 19:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1009869#M5322</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2020-12-15T19:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1009959#M5324</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;I searched through all the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#item" target="_self"&gt;properties&lt;/A&gt; associated with a vector tile layer in the ArcGIS API for Python, but couldn't find any property that would allow you to turn on the "Offline Mode" setting. For feature layers, you can manage the settings found under the Item Details page of an item through the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html?highlight=update%20definition#arcgis.features.managers.FeatureLayerCollectionManager" target="_self"&gt;FeatureCollectionManager&lt;/A&gt; class, but this won't work for tile layers.&lt;/P&gt;&lt;P&gt;I think this would make a great enhancement request.&lt;/P&gt;&lt;P&gt;-Calvin&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 22:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1009959#M5324</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-12-15T22:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1061322#M6120</link>
      <description>&lt;P&gt;Hi Calvin,&lt;/P&gt;&lt;P&gt;Does this enhancement possible now ?&lt;/P&gt;&lt;P&gt;I search a way to enabled offline mode on hosted tile layer with python too&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 13:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1061322#M6120</guid>
      <dc:creator>JérômeGROELL</dc:creator>
      <dc:date>2021-05-25T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1086395#M6444</link>
      <description>&lt;P&gt;The enhancement for this is&amp;nbsp;ENH-000139612 - you can &lt;A href="https://support.esri.com/en/contact-tech-support" target="_blank" rel="noopener"&gt;contact support&amp;nbsp;&lt;/A&gt;to attach your customer number. Alternatively if you email &lt;A href="mailto:pklingman@esri.com" target="_blank"&gt;pklingman@esri.com &lt;/A&gt;with your customer number I can also get you attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 22:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1086395#M6444</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-08-05T22:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1128365#M6937</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Has this enhancement been added yet?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 17:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1128365#M6937</guid>
      <dc:creator>EmmaTeuten</dc:creator>
      <dc:date>2021-12-22T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1131448#M6973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/444810"&gt;@EmmaTeuten&lt;/a&gt;&amp;nbsp;- it looks like it's planned for the next version of the ArcGIS API for Python. Unsure of the exact release date but you should see it in the near future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 22:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1131448#M6973</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-01-06T22:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1179812#M7453</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to point me to the&amp;nbsp;&lt;SPAN&gt;ArcGIS API for Python documentation for enabling "Offline Mode" on a hosted tile layer?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 14:55:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1179812#M7453</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2022-06-03T14:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1179845#M7455</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following code in the api documentation...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;from arcgis.mapping import VectorTileLayer
from arcgis.gis import GIS

# connect to your GIS and get the tile layer item
gis = GIS(url, username, password)

vector_layer_item = gis.content.get('abcd_item-id')
vector_tile_layer = VectorTileLayer.fromitem(vector_layer_item)
vtl_manager = vector_tile_layer.manager
vtl_manager.edit_tile_service(min_scale = 50, max_scale = 100, export_tiles_allowed = True, max_export_tile_count = 10000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like I should be able to toggle the "Offline Mode" switch by setting the export_tiles_allowed argument to True/False. This syntax is working and edits the min_scale, max_scale, and max_export_tile_count.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not updating the export_tiles_allowed argument. Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 16:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1179845#M7455</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2022-06-03T16:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1651290#M11667</link>
      <description>&lt;P&gt;Confirmed this solution works. Thanks so much!&lt;/P&gt;&lt;P&gt;Although it works as of today, unfortunately, arcgis.mapping.VectorTileLayer is deprecated so I'm not sure for how long it will continue to work. I tried running the exact same code but using the modern arcgis.layers.VectorTileLayer method instead, and that does NOT work to toggle the offline mode switch for the vector tile layer. I'm not sure why there is a discrepancy there, but Esri would be wise to fix that functionality before completing phasing out arcgis.mapping.VectorTileLayer...&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 22:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1651290#M11667</guid>
      <dc:creator>BrianKatz</dc:creator>
      <dc:date>2025-09-17T22:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Offline Mode - Tile Layer(hosted)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1666817#M11782</link>
      <description>&lt;P&gt;I can as of today Nov.18,2025 the&amp;nbsp;&lt;SPAN&gt;arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;mapping.&lt;/SPAN&gt;&lt;SPAN&gt;VectorTileLayer solution still works. I could not get it to work using the arcgis.layers.VectorTileLayer method just like BrianKatz reported.&lt;BR /&gt;I only needed to enable offline use on a set of hosted tile layers and the above code worked with this modification.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vtl_manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;edit_tile_service&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;export_tiles_allowed&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 18:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/enable-offline-mode-tile-layer-hosted/m-p/1666817#M11782</guid>
      <dc:creator>EarthJenna</dc:creator>
      <dc:date>2025-11-18T18:56:59Z</dc:date>
    </item>
  </channel>
</rss>

