<?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: Filter layers in Web Map with a URL parameter in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1069088#M40666</link>
    <description>&lt;P&gt;Any luck with the link to the URL filter or where clause documentation?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 20:31:23 GMT</pubDate>
    <dc:creator>RichardvBailey</dc:creator>
    <dc:date>2021-06-16T20:31:23Z</dc:date>
    <item>
      <title>Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283321#M14113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I have a polygon regions layer.&lt;/LI&gt;&lt;LI&gt;I have a number of other layers that have already been pre-clipped to these regions&lt;UL&gt;&lt;LI&gt;The region ID is included for every feature&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bit like this, the boxes are the regions:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/384086_1.png" style="width: 620px; height: 411px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End goal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;As a user, I want to choose a region from a dropdown, and then this opens a web map/web app &lt;SPAN style="color: #ff0000;"&gt;with only the relevant features being shown&lt;/SPAN&gt; and centered into the relevant bounding box for that region.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bit I am struggling to work out, is a good approach to do the bit in &lt;SPAN style="color: #ff0000;"&gt;red&lt;/SPAN&gt; above.&amp;nbsp; Everything else is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some ideas:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I could automate creating a series of web maps with relevant filters applied to each of the layers, and then I could use the relevant Web Map ID in a URL parameters.&amp;nbsp;&lt;UL&gt;&lt;LI&gt;I don't like this, as will end up with lots of web maps and will be tricker if I need to update a popup/style for all of them.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I was hoping that I could apply a filter to all of the layers in my web map purely through using a URL parameter.&amp;nbsp; I &lt;A href="http://doc.arcgis.com/en/arcgis-online/reference/use-url-parameters.htm"&gt;do not think this is possible&lt;/A&gt;?&lt;/LI&gt;&lt;LI&gt;AppBuilder might be a bit of a heavy app for this, but even with a hidden filter widget,&lt;A href="http://doc.arcgis.com/en/arcgis-online/reference/use-url-parameters.htm"&gt; I do not think&lt;/A&gt; I can use a URL parameter to call an app to filter all layers with a def query.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If I was to go down the JS API route, it looks like I could possibly achieve what I want with&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;featureLayer.setDefinitionExpression="regionID"&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Just looking to brainstorm any ideas or send me some relevant links so I can do some homework before going down the wrong path.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Nov 2017 07:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283321#M14113</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2017-11-19T07:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283322#M14114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I have been looking for as well.&amp;nbsp; With my research I have not found a solution other than creating individual web maps that you stated above.&amp;nbsp; Hopefully someone will respond with a solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 19:52:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283322#M14114</guid>
      <dc:creator>TimConfare</dc:creator>
      <dc:date>2017-11-29T19:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283323#M14115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/ideas/13316" target="_blank"&gt;https://community.esri.com/ideas/13316&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Implemented)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283323#M14115</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2021-06-22T08:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283324#M14116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/ideas/13316" target="_blank"&gt;https://community.esri.com/ideas/13316&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/283324#M14116</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2021-06-22T08:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1045903#M39416</link>
      <description>&lt;P&gt;Is this now possible? I see a comment "implemented" but I can't find documentation on how to feature to a subset of features based on a query (e.g., someValue &amp;lt; 50).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 14:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1045903#M39416</guid>
      <dc:creator>gyetman</dc:creator>
      <dc:date>2021-04-12T14:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1048159#M39523</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the documentation, the where clause does support filtering.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 15:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1048159#M39523</guid>
      <dc:creator>gyetman</dc:creator>
      <dc:date>2021-04-16T15:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1052457#M39776</link>
      <description>&lt;P&gt;link to documentation?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 19:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1052457#M39776</guid>
      <dc:creator>nickkeller</dc:creator>
      <dc:date>2021-04-28T19:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1056423#M39977</link>
      <description>&lt;P&gt;Anyone have the link to the documentation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 20:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1056423#M39977</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2021-05-10T20:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1069088#M40666</link>
      <description>&lt;P&gt;Any luck with the link to the URL filter or where clause documentation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 20:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1069088#M40666</guid>
      <dc:creator>RichardvBailey</dc:creator>
      <dc:date>2021-06-16T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filter layers in Web Map with a URL parameter</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1069122#M40669</link>
      <description>&lt;P&gt;Can you please send us the link to the documentation. Cheers, Simon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 21:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-layers-in-web-map-with-a-url-parameter/m-p/1069122#M40669</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2021-06-16T21:37:52Z</dc:date>
    </item>
  </channel>
</rss>

