<?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 LayerList widget only one layer visible within one group at a time in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874335#M13364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to make a small change in the web app builder dev edition LayerList widget in order to have only one layer visible within a group in a map service that I have published. For example if&amp;nbsp;I have a group with 3 sublayers (sub layer 1, sub layer 2 and sub layer 3). If a user makes one sub layer&amp;nbsp;visible then all the other sublayers should automatically become invisible i.e. unchecked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that I need to make the change in _onCkSelectNodeClick function in the LayerListView.js file. The function takes in the layerInfo object of the checked layer but I can't see a way I can access the other 2 sublayers to make them invisible if they are already visible. Any pointers will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2018 11:51:37 GMT</pubDate>
    <dc:creator>wadsonmakari</dc:creator>
    <dc:date>2018-10-24T11:51:37Z</dc:date>
    <item>
      <title>LayerList widget only one layer visible within one group at a time</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874335#M13364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to make a small change in the web app builder dev edition LayerList widget in order to have only one layer visible within a group in a map service that I have published. For example if&amp;nbsp;I have a group with 3 sublayers (sub layer 1, sub layer 2 and sub layer 3). If a user makes one sub layer&amp;nbsp;visible then all the other sublayers should automatically become invisible i.e. unchecked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that I need to make the change in _onCkSelectNodeClick function in the LayerListView.js file. The function takes in the layerInfo object of the checked layer but I can't see a way I can access the other 2 sublayers to make them invisible if they are already visible. Any pointers will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 11:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874335#M13364</guid>
      <dc:creator>wadsonmakari</dc:creator>
      <dc:date>2018-10-24T11:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: LayerList widget only one layer visible within one group at a time</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874336#M13365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wadson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; See this thread where I answered that question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/182116-layerlist-21-option-to-displays-sublayer"&gt;https://community.esri.com/thread/182116-layerlist-21-option-to-displays-sublayer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 12:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874336#M13365</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-24T12:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: LayerList widget only one layer visible within one group at a time</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874337#M13366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert that is exactly what I am after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 13:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layerlist-widget-only-one-layer-visible-within-one/m-p/874337#M13366</guid>
      <dc:creator>wadsonmakari</dc:creator>
      <dc:date>2018-10-24T13:27:46Z</dc:date>
    </item>
  </channel>
</rss>

