<?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 Layer List Refresh in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layer-list-refresh/m-p/881744#M14138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been struggling with the Layer List _onCkSelectNodeClick.&amp;nbsp; I have a scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (layerInfo.id === 'Basemap_0'){&lt;/P&gt;&lt;P&gt;this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap').setTopLayerVisible(true);&lt;/P&gt;&lt;P&gt;this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap_0').setTopLayerVisible(true);&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;this.layerListWidget._refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to not refresh the LayerList Widget so a user doesn't have to navigate back to the layers they were working with?&amp;nbsp; My goal is to set the parent layer visible when a sublayer is checked.&amp;nbsp; I have it working when all the layers are expanded but it seems redundant to have it open at all times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 20:31:58 GMT</pubDate>
    <dc:creator>JohnLucotch1</dc:creator>
    <dc:date>2016-06-01T20:31:58Z</dc:date>
    <item>
      <title>Layer List Refresh</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layer-list-refresh/m-p/881744#M14138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been struggling with the Layer List _onCkSelectNodeClick.&amp;nbsp; I have a scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (layerInfo.id === 'Basemap_0'){&lt;/P&gt;&lt;P&gt;this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap').setTopLayerVisible(true);&lt;/P&gt;&lt;P&gt;this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap_0').setTopLayerVisible(true);&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;this.layerListWidget._refresh();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to not refresh the LayerList Widget so a user doesn't have to navigate back to the layers they were working with?&amp;nbsp; My goal is to set the parent layer visible when a sublayer is checked.&amp;nbsp; I have it working when all the layers are expanded but it seems redundant to have it open at all times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 20:31:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/layer-list-refresh/m-p/881744#M14138</guid>
      <dc:creator>JohnLucotch1</dc:creator>
      <dc:date>2016-06-01T20:31:58Z</dc:date>
    </item>
  </channel>
</rss>

