<?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>idea Ignore/Add Layers for spatial filter in Query Widget in ArcGIS Web AppBuilder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/ignore-add-layers-for-spatial-filter-in-query/idi-p/929652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi there,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;There is currently a way to exclude specific "spatial relationship layers" from the list in the Query widget, with Web AppBuilder Dev edition.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You can add an array of Layer ids to the following variable in "PATH TO YOURAPP#\widgets\Query\TaskSettings.js" currently on line 459&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;var ignoredFeaturelayerIds = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;It's tedious to list them all, especially in case you only want to display one or two layers and your map contains dozens and it often doesn't make sense to use those other layers for creating a spatial relationship.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt; And it's only possible if you deploy your app on your own server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;What I would like to see to enhance the user experience:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;a) be able to set a default layer to be displayed automatically&amp;nbsp;when "Only return features that have a spatial relationship with features in another layer" is selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;b) instead of ignoring, adding layers&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;c) The option to check the layers you want to use in the spatial query in the Widget configuration UI (similar to the selection widget:&amp;nbsp;&lt;A href="https://community.esri.com/ideas/12706-set-selectable-layers-in-select-widget"&gt;Set selectable layer(s) in select widget&lt;/A&gt;&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Thanks for consideration&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Related post:&amp;nbsp;&lt;A href="https://community.esri.com/thread/215739-ignore-layers-for-spatial-filter-in-query-widget"&gt;https://community.esri.com/thread/215739-ignore-layers-for-spatial-filter-in-query-widget&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 06:38:50 GMT</pubDate>
    <dc:creator>AnninaHirschi_Wyss1</dc:creator>
    <dc:date>2018-06-01T06:38:50Z</dc:date>
    <item>
      <title>Ignore/Add Layers for spatial filter in Query Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/ignore-add-layers-for-spatial-filter-in-query/idi-p/929652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hi there,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;There is currently a way to exclude specific "spatial relationship layers" from the list in the Query widget, with Web AppBuilder Dev edition.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You can add an array of Layer ids to the following variable in "PATH TO YOURAPP#\widgets\Query\TaskSettings.js" currently on line 459&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-family: 'courier new', courier, monospace;"&gt;var ignoredFeaturelayerIds = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;It's tedious to list them all, especially in case you only want to display one or two layers and your map contains dozens and it often doesn't make sense to use those other layers for creating a spatial relationship.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt; And it's only possible if you deploy your app on your own server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;What I would like to see to enhance the user experience:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;a) be able to set a default layer to be displayed automatically&amp;nbsp;when "Only return features that have a spatial relationship with features in another layer" is selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;b) instead of ignoring, adding layers&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;c) The option to check the layers you want to use in the spatial query in the Widget configuration UI (similar to the selection widget:&amp;nbsp;&lt;A href="https://community.esri.com/ideas/12706-set-selectable-layers-in-select-widget"&gt;Set selectable layer(s) in select widget&lt;/A&gt;&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Thanks for consideration&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Related post:&amp;nbsp;&lt;A href="https://community.esri.com/thread/215739-ignore-layers-for-spatial-filter-in-query-widget"&gt;https://community.esri.com/thread/215739-ignore-layers-for-spatial-filter-in-query-widget&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 06:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/ignore-add-layers-for-spatial-filter-in-query/idi-p/929652</guid>
      <dc:creator>AnninaHirschi_Wyss1</dc:creator>
      <dc:date>2018-06-01T06:38:50Z</dc:date>
    </item>
  </channel>
</rss>

