<?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: Group Filter widget set visible layers in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537401#M14147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came here looking for a solution to the same issue Chad Ricks was experiencing.&amp;nbsp; Updating the widget to 2.9 fixed the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 23:15:20 GMT</pubDate>
    <dc:creator>TomasL44</dc:creator>
    <dc:date>2018-10-09T23:15:20Z</dc:date>
    <item>
      <title>Group Filter widget set visible layers</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537398#M14144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Group Filter widget sets all filtered layers to visible even if the layer in the web map was initially not visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Group Filter Widget.js, I commented out a line from the&amp;nbsp;setupFilterToApply fuction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//layer.layerObject.setVisibility(true);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i run the group filter the layers that are&amp;nbsp;initially visible from the web map are shown. But, if I had gone into the layerlist widget and turned on and off different layers the group filter doesn't see what is currently visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to tell what layers are currently visible in the web map?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i could something like:&lt;/P&gt;&lt;P&gt;if(layer.isCurrentlyVisible){&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;layer.layerObject.setVisibility(true);&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;else{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;layer.layerObject.setVisibility(false);&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 20:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537398#M14144</guid>
      <dc:creator>ChadRicks</dc:creator>
      <dc:date>2018-06-20T20:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter widget set visible layers</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537399#M14145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you using WAB 2.8? The reason I ask is that line is already commented out in 2.8 so esri must have made some changes to the widget which might help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537399#M14145</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-21T13:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter widget set visible layers</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537400#M14146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. I'm using WAB 2.3. I'll have to try out 2.8 and see if that issue is taken care of.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 13:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537400#M14146</guid>
      <dc:creator>ChadRicks</dc:creator>
      <dc:date>2018-06-21T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter widget set visible layers</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537401#M14147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came here looking for a solution to the same issue Chad Ricks was experiencing.&amp;nbsp; Updating the widget to 2.9 fixed the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 23:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-widget-set-visible-layers/m-p/537401#M14147</guid>
      <dc:creator>TomasL44</dc:creator>
      <dc:date>2018-10-09T23:15:20Z</dc:date>
    </item>
  </channel>
</rss>

