<?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: Adding a WMTS basemap with Automation API in ArcGIS Earth Questions</title>
    <link>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1658946#M1309</link>
    <description>&lt;P&gt;Thank you for sharing your use case! We will be adding support for Wayback Imagery in our upcoming version 2.6, which is planned for release in January 2026. This release will also include an improved date picker to make it easier to navigate through historical imagery.&amp;nbsp;Hope this will better support your use of Wayback Imagery.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Oct 2025 02:36:12 GMT</pubDate>
    <dc:creator>YongweiKang</dc:creator>
    <dc:date>2025-10-20T02:36:12Z</dc:date>
    <item>
      <title>Adding a WMTS basemap with Automation API</title>
      <link>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1640498#M1293</link>
      <description>&lt;P&gt;Is it possible to add a WMTS layer as a basemap with the use of the ArcGIS Automation API ? I can use the Add Layer method like this to add a WMTS layer to the operational layers :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "URI": "https://www.arcgis.com/home/item.html?id=c98ec6ff1b26457db28dfa9ca27f144a",
  "target": "operationalLayers",
  "type": "PortalItem"
}&lt;/LI-CODE&gt;&lt;P&gt;But if I try to do the same for baseMaps :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "URI": "https://www.arcgis.com/home/item.html?id=c98ec6ff1b26457db28dfa9ca27f144a",
  "target": "baseMaps",
  "type": "PortalItem"
}&lt;/LI-CODE&gt;&lt;P&gt;I get this error :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"errorMessage": "Failed to add layer. Invalid request response: Portal item type incorrect"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know 3 ways of doing this manually.&lt;/P&gt;&lt;P&gt;From the &lt;STRONG&gt;ArcGIS Online&lt;/STRONG&gt; tab :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoffroyRicherLalonde_0-1754680630134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138181i219DBB714BBAA851/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoffroyRicherLalonde_0-1754680630134.png" alt="GeoffroyRicherLalonde_0-1754680630134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the &lt;STRONG&gt;Add from Path&lt;/STRONG&gt; tab,&amp;nbsp;&lt;STRONG&gt;Portal Item&lt;/STRONG&gt; type :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoffroyRicherLalonde_1-1754680651221.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138182i8D470D9F0E7B101A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoffroyRicherLalonde_1-1754680651221.png" alt="GeoffroyRicherLalonde_1-1754680651221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the &lt;STRONG&gt;Add from Path&lt;/STRONG&gt; tab, &lt;STRONG&gt;OGC WMTS&lt;/STRONG&gt; type :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoffroyRicherLalonde_2-1754680716780.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/138183iC782B783A38DCE31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GeoffroyRicherLalonde_2-1754680716780.png" alt="GeoffroyRicherLalonde_2-1754680716780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I try to find a way to do it from the Add Layer method of the Automation API. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 19:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1640498#M1293</guid>
      <dc:creator>GeoffroyRicher-Lalonde</dc:creator>
      <dc:date>2025-08-08T19:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMTS basemap with Automation API</title>
      <link>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1649982#M1296</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/59021"&gt;@GeoffroyRicher-Lalonde&lt;/a&gt;&amp;nbsp;Thank you for sharing your experience with the ArcGIS Automation API.&lt;/P&gt;&lt;P&gt;The Automation API currently doesn’t fully support adding WMTS data because these services need additional parameters beyond just the URL, such as specifying the layer to use.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you add a Portal Item as an Operational Layer, it works because the Portal Item already contains these specifications. However, when adding a Portal Item as a Basemap, the Automation API currently only supports the WebMap type as Basemap, not other Portal Item types.&lt;/P&gt;&lt;P&gt;One workaround is to embed your WMTS data inside a WebMap, which can then be added as a basemap. However, if your workflow involves multiple WMTS datasets, converting each one to a WebMap could be time-consuming. Could you share more details about your specific use case? This would help us prioritize improvements to WMTS support in the Automation API.&lt;/P&gt;&lt;P&gt;I noticed the example you provided uses Wayback Imagery. Our upcoming release will include support for historical imagery functionality, which will cover these types of Wayback Imagery datasets.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yongwei&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 08:31:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1649982#M1296</guid>
      <dc:creator>YongweiKang</dc:creator>
      <dc:date>2025-09-12T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMTS basemap with Automation API</title>
      <link>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1655772#M1302</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/316565"&gt;@YongweiKang&lt;/a&gt;, and thank you for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My use case is to let our users easily add the Wayback Imagery as basemaps from an HTML page we develop. I’m glad Wayback will be accessible directly inside ArcGIS Earth in a future release!&lt;/P&gt;&lt;P&gt;For a couple of years, we did exactly what you said: embed the WMTS layers inside web maps and share them from our portal. But it is time-consuming, indeed, and we don’t do it anymore.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 12:17:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1655772#M1302</guid>
      <dc:creator>GeoffroyRicher-Lalonde</dc:creator>
      <dc:date>2025-10-07T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a WMTS basemap with Automation API</title>
      <link>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1658946#M1309</link>
      <description>&lt;P&gt;Thank you for sharing your use case! We will be adding support for Wayback Imagery in our upcoming version 2.6, which is planned for release in January 2026. This release will also include an improved date picker to make it easier to navigate through historical imagery.&amp;nbsp;Hope this will better support your use of Wayback Imagery.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 02:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-earth-questions/adding-a-wmts-basemap-with-automation-api/m-p/1658946#M1309</guid>
      <dc:creator>YongweiKang</dc:creator>
      <dc:date>2025-10-20T02:36:12Z</dc:date>
    </item>
  </channel>
</rss>

