<?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 ArcGIS Web AppBuilder - Basemap Widget URLs in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcgis-web-appbuilder-basemap-widget-urls/m-p/1217530#M22530</link>
    <description>&lt;P&gt;We utilize the basemap widget in our application generated from WAB 2.24.&amp;nbsp; We currently have many years of imagery that are hosted on our ArcGIS Servers as individual Image Services for each year.&amp;nbsp; We have generated a derived Mosaic dataset with all the imagery together in one Image Service.&amp;nbsp; However, I have not been able to figure out how to update the URLs in the basemap widget to include a query to limit the data to a single year.&lt;/P&gt;&lt;P&gt;Typically, each base map pointed to its appropriate year's Image service and works great.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2003/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;etc.&lt;/P&gt;&lt;P&gt;However, we would like to host all the imagery on a single service and filer the data by year.&amp;nbsp; This works great in maps and other components but I have not been able to figure out how to add each year's url to the basemap widget.&lt;/P&gt;&lt;P&gt;I tried adding a query to the url but cannot get the widget to accept the path.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/ImageServer/query?where=Year=2005&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried publishing the Mosaic as a MapService but the widget will not accept the layer identifier or layer index.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/MapServer/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Both ImageService and MapService URL will display alone; however, it displays everything.&lt;/P&gt;&lt;P&gt;Are there any other options that can be utilized as a basemap that would allow filtering by year?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 18:25:02 GMT</pubDate>
    <dc:creator>LanceCole</dc:creator>
    <dc:date>2022-09-29T18:25:02Z</dc:date>
    <item>
      <title>ArcGIS Web AppBuilder - Basemap Widget URLs</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcgis-web-appbuilder-basemap-widget-urls/m-p/1217530#M22530</link>
      <description>&lt;P&gt;We utilize the basemap widget in our application generated from WAB 2.24.&amp;nbsp; We currently have many years of imagery that are hosted on our ArcGIS Servers as individual Image Services for each year.&amp;nbsp; We have generated a derived Mosaic dataset with all the imagery together in one Image Service.&amp;nbsp; However, I have not been able to figure out how to update the URLs in the basemap widget to include a query to limit the data to a single year.&lt;/P&gt;&lt;P&gt;Typically, each base map pointed to its appropriate year's Image service and works great.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2003/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;etc.&lt;/P&gt;&lt;P&gt;However, we would like to host all the imagery on a single service and filer the data by year.&amp;nbsp; This works great in maps and other components but I have not been able to figure out how to add each year's url to the basemap widget.&lt;/P&gt;&lt;P&gt;I tried adding a query to the url but cannot get the widget to accept the path.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/ImageServer/query?where=Year=2005&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried publishing the Mosaic as a MapService but the widget will not accept the layer identifier or layer index.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.esri.com/" target="_blank"&gt;https://&amp;lt;gis_server_url&amp;gt;/server/rest/services/ortho_2005/MapServer/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Both ImageService and MapService URL will display alone; however, it displays everything.&lt;/P&gt;&lt;P&gt;Are there any other options that can be utilized as a basemap that would allow filtering by year?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 18:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/arcgis-web-appbuilder-basemap-widget-urls/m-p/1217530#M22530</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2022-09-29T18:25:02Z</dc:date>
    </item>
  </channel>
</rss>

