<?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: Layer List: Expand Layers by Default in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534549#M14019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is not the same topic that is being covered by this thread. You may want to start a new thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 14:59:32 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-08-28T14:59:32Z</dc:date>
    <item>
      <title>Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534500#M13970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought I had posted this on here already, but I can't seem to find it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the tab theme and I have the layer list opening by default in the side panel. Is there a way to have it open with all the layers already expanded showing the symbology without having to click on each individual layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 23:26:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534500#M13970</guid>
      <dc:creator>AdamAraza1</dc:creator>
      <dc:date>2015-06-18T23:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534501#M13971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expand all layers when opening the layer list widget will have performance issue, because open layer may cause a HTTP request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 08:33:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534501#M13971</guid>
      <dc:creator>JunshanLiu</dc:creator>
      <dc:date>2015-06-19T08:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534502#M13972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I acknowledge the performance issue, but I am also looking to have layer list expanded by default. In my usability testing people have not understood they must expand the tree to control layers. Most of our maps have just one closed node in layer list at startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice on how to override the default behavior appreciated....even if there is a performance hit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534502#M13972</guid>
      <dc:creator>PatKeegan</dc:creator>
      <dc:date>2015-06-24T20:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534503#M13973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The layer list will open by default if each layer is added on it's own rather than adding the entire mapserver or featureserver service as a group layer. That's the work around I've always used for this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example rather than adding blabla/arcgis/rest/services/folder/servicename/MapServer to add all of my layers I add them one at a time&lt;/P&gt;&lt;P&gt;blabla/arcgis/rest/services/folder/servicename/MapServer/0&lt;/P&gt;&lt;P&gt;blabla/arcgis/rest/services/folder/servicename/MapServer/1&lt;/P&gt;&lt;P&gt;blabla/arcgis/rest/services/folder/servicename/MapServer/2&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 22:10:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534503#M13973</guid>
      <dc:creator>ChadTinsley</dc:creator>
      <dc:date>2015-06-24T22:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534504#M13974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I should have a workaround for you tomorrow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 23:21:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534504#M13974</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-06-24T23:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534505#M13975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you don't mind the possible performance impact then the workaround is to open the LayerListView.js and find the layerTitleNode click event (@ line 205) and add these lines after it @ line 213&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change this for all apps you produce in the future then change this file: client\stemapp\widgets\LayerList\LayerListView.js&lt;/P&gt;&lt;P&gt;If you want to change on specific app then change this file:server\apps\APP##\widgets\LayerList\LayerListView.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(lang.hitch(this,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._onRowTrClick,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageShowLegendNode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerTrNode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableNode), 300);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534505#M13975</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T23:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534506#M13976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/99532"&gt;Adam Araza&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did the code I provided answer your question? If it did then please help the community by marking this question as answered. All you have to do is click the "Correct Answer" link (the one with the little green star) on the post that provided the answer for you. If the answer was not provided by one of the responders then you can mark any of the replies that you received as helpful by clicking on the "Actions" menu and choosing "Mark as Helpful"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534506#M13976</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-06-30T14:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534507#M13977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it was. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534507#M13977</guid>
      <dc:creator>AdamAraza1</dc:creator>
      <dc:date>2015-06-30T14:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534508#M13978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to modify this solutions to only expand the Map Service, not the legend part?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like my users to see what layers are in the Map Services without them needing to expand the layer but I do not want the legend for each layer to be expanded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of the possibility to add each individual layer from my Map Services but this is not preferred as I would still like to keep things grouped by each Map Service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 19:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534508#M13978</guid>
      <dc:creator>MichaelPotter1</dc:creator>
      <dc:date>2015-10-01T19:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534509#M13979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sure just use this block of code instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(layerInfo.newSubLayers.length &amp;gt; 0){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(lang.hitch(this,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._onRowTrClick,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageShowLegendNode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerTrNode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableNode), 300);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:13:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534509#M13979</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T23:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534510#M13980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a charm, thanks for you help Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 18:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534510#M13980</guid>
      <dc:creator>MichaelPotter1</dc:creator>
      <dc:date>2015-10-02T18:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534511#M13981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying this right now in LaunchPad theme. When I enter in the codeblock, everything on my Layer List widget disappears. I've attached a screenshot showing the code I'm using. Does this look correct?&lt;IMG alt="ExpandLayerList_Default.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/215042_ExpandLayerList_Default.PNG" style="width: 620px; height: 553px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 20:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534511#M13981</guid>
      <dc:creator>DanielChantlos1</dc:creator>
      <dc:date>2016-08-10T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534512#M13982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are trying to do this in WAB 2.1 then the code is now this (line 5 changed):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if(layerInfo.newSubLayers.length &amp;gt; 0){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(lang.hitch(this,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._onRowTrClick,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageShowLegendDiv,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerTrNode,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tableNode), 300);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534512#M13982</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T23:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534513#M13983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just tried this codeblock, perhaps something else is missing? The layers no longer disappear from the widget, but the MS is still not expanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:55:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534513#M13983</guid>
      <dc:creator>DanielChantlos1</dc:creator>
      <dc:date>2016-08-11T14:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534514#M13984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I tested this in WAB 2.1 using the Launchpad theme before posting and it worked fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534514#M13984</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-11T15:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534515#M13985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting...this worked after I deleted/re-extracted the WebApp and pasted in the codeblock again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks as always Robert!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 16:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534515#M13985</guid>
      <dc:creator>DanielChantlos1</dc:creator>
      <dc:date>2016-08-11T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534516#M13986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do the same thing as asked above but within an ArcGIS Portal app. &amp;nbsp;I'm trying to find the file and spot to use your code to implement this change. &amp;nbsp;In particular, I'm currently using the public information app in ArcGIS Portal. &amp;nbsp;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 16:29:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534516#M13986</guid>
      <dc:creator>alextang</dc:creator>
      <dc:date>2016-09-28T16:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534517#M13987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Sorry I do not have experience with that so I can lend no insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 16:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534517#M13987</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-28T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534518#M13988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the sakes of the web&amp;nbsp;appbuilder, this is the layerlistview.js that I think that I should be editing. &amp;nbsp;Sorry for the lack of code formatting as I'm just using notepad to edit it. &amp;nbsp;Where should I insert your code block?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// All material copyright ESRI, All Rights Reserved, unless otherwise specified.&lt;BR /&gt;&lt;SPAN&gt;// See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgis.esquimalt.ca%2Farcgis%2Fjsapi%2Fjsapi%2Fesri%2Fcopyright.txt" rel="nofollow" target="_blank"&gt;http://gis.esquimalt.ca/arcgis/jsapi/jsapi/esri/copyright.txt&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com%2Fapps%2Fwebappbuilder%2Fcopyright.txt" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/apps/webappbuilder/copyright.txt&lt;/A&gt;&lt;SPAN&gt; for details.&lt;/SPAN&gt;&lt;BR /&gt; //&amp;gt;&amp;gt;built&lt;BR /&gt;require({cache:{"url:widgets/LayerList/LayerListView.html":'\r\n\r\n\x3ctable class\x3d"layer-list-table"\x3e\r\n \x3ctbody class\x3d"layers-list-body" data-dojo-attach-point\x3d"layerListTable"\x3e\x3c/tbody\x3e\r\n \x3ctbody class\x3d"layers-list-body" data-dojo-attach-point\x3d"tableListTable"\x3e\x3c/tbody\x3e \r\n\x3c/table\x3e\r\n'}});&lt;BR /&gt;define("dijit/_WidgetBase dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/dom-construct dojo/on dojo/query jimu/dijit/CheckBox ./PopupMenu dijit/_TemplatedMixin dojo/text!./LayerListView.html dojo/dom-attr dojo/dom-class dojo/dom-style ./NlsStrings".split(" "),function(t,u,m,r,e,n,g,v,w,x,y,s,h,k,z){return u([t,x],{templateString:y,_currentSelectedLayerRowNode:null,postMixInProperties:function(){this.inherited(arguments);this.nls=z.value},postCreate:function(){r.forEach(this.operLayerInfos.getLayerInfoArray(),&lt;BR /&gt;function(a){this.drawListNode(a,0,this.layerListTable,!0)},this);r.forEach(this.operLayerInfos.getTableInfoArray(),function(a){this.drawListNode(a,0,this.tableListTable,!0)},this)},drawListNode:function(a,b,d){var c;0===a.newSubLayers.length?(c=this.addLayerNode(a,b,d),this.config.showLegend?this.addLegendNode(a,b,c.subNode):k.set(g(".showLegend-image",c.currentNode)[0],"display","none")):(c=this.addLayerNode(a,b,d),r.forEach(a.newSubLayers,m.hitch(this,function(a,b){this.drawListNode(b,a+1,c.subNode)},&lt;BR /&gt;b)))},addLayerNode:function(a,b,d){var c=e.create("tr",{"class":"jimu-widget-row layer-row ",layerTrNodeId:a.id},d),f,l,p,g,h,q;f=e.create("td",{"class":"col col1"},c);for(p=0;p&amp;lt;b;p++)e.create("div",{"class":"begin-blank-div jimu-float-leading",innerHTML:""},f);q=e.create("div",{"class":"showLegend-div jimu-float-leading"},f);g=e.create("img",{"class":"showLegend-image",src:isRTL?this.layerListWidget.folderUrl+"images/v_left.png":this.layerListWidget.folderUrl+"images/v_right.png",alt:"l"},q);l=e.create("div",&lt;BR /&gt;{"class":"div-select jimu-float-leading"},f);p=new v({checked:a.isVisible(),"class":"visible-checkbox-"+a.id});e.place(p.domNode,l);h=e.create("div",{"class":"noLegend-div jimu-float-leading"},f);e.create("img",{"class":"noLegend-image",src:this.layerListWidget.folderUrl+(a.isTable?"images/table.png":"images/noLegend.png"),alt:"l"},h);if(a.noLegend||a.isTable)k.set(q,"display","none"),k.set(l,"display","none"),k.set(h,"display","block");k.set(f,"width",12*b+35+"px");b=e.create("td",{"class":"col col2"},&lt;BR /&gt;c);e.create("div",{innerHTML:a.title,"class":"div-content jimu-float-leading"},b);f=e.create("td",{"class":"col col3"},c);f=e.create("div",{"class":"layers-list-popupMenu-div"},f);l=(new w({_layerInfo:a,box:this.layerListWidget.domNode.parentNode,popupMenuNode:f,layerListWidget:this.layerListWidget,_config:this.config})).placeAt(f);this.own(n(l,"onMenuClick",m.hitch(this,this._onPopupMenuItemClick,a,l)));d=e.create("tr",{"class":"",layerContentTrNodeId:a.id},d);d=e.create("td",{"class":"",colspan:"3"},&lt;BR /&gt;d);d=e.create("table",{"class":"layer-sub-node"},d);this.own(n(b,"click",m.hitch(this,this._onRowTrClick,a,g,c,d)));this.own(n(q,"click",m.hitch(this,this._onRowTrClick,a,g,c,d)));this.own(n(c,"mouseover",m.hitch(this,this._onLayerNodeMouseover,c,l)));this.own(n(c,"mouseout",m.hitch(this,this._onLayerNodeMouseout,c,l)));this.own(n(p.domNode,"click",m.hitch(this,this._onCkSelectNodeClick,a,p)));this.own(n(f,"click",m.hitch(this,this._onPopupMenuClick,a,l,c)));return{currentNode:c,subNode:d}},addLegendNode:function(a,&lt;BR /&gt;b,d){d=e.create("tr",{"class":"legend-node-tr"},d);d=e.create("td",{"class":"legend-node-td"},d);try{var c=a.createLegendsNode();k.set(c,"font-size",12*(b+1)+"px");e.place(c,d)}catch(f){console.error(f)}},_fold:function(a,b,d){"none"===k.get(d,"display")?(k.set(d,"display","table"),s.set(b,"src",this.layerListWidget.folderUrl+"images/v.png"),a=!1):(k.set(d,"display","none"),s.set(b,"src",isRTL?this.layerListWidget.folderUrl+"images/v_left.png":this.layerListWidget.folderUrl+"images/v_right.png"),&lt;BR /&gt;a=!0);return a},_onCkSelectNodeClick:function(a,b,d){b.checked?a.setTopLayerVisible(!0):a.setTopLayerVisible(!1);d.stopPropagation()},_onPopupMenuClick:function(a,b,d,c){this._changeSelectedLayerRow(d);b&amp;amp;&amp;amp;"opened"===b.state?b.closeDropMenu():(this._hideCurrentPopupMenu(),b&amp;amp;&amp;amp;(this.currentPopupMenu=b,b.openDropMenu()));c.stopPropagation()},_hideCurrentPopupMenu:function(){this.currentPopupMenu&amp;amp;&amp;amp;"opened"===this.currentPopupMenu.state&amp;amp;&amp;amp;this.currentPopupMenu.closeDropMenu()},_onLayerNodeMouseover:function(a,&lt;BR /&gt;b){h.add(a,"layer-row-mouseover");b&amp;amp;&amp;amp;h.add(b.btnNode,"jimu-icon-btn-selected")},_onLayerNodeMouseout:function(a,b){h.remove(a,"layer-row-mouseover");b&amp;amp;&amp;amp;h.remove(b.btnNode,"jimu-icon-btn-selected")},_onLayerListWidgetPaneClick:function(a){a&amp;amp;&amp;amp;a.closeDropMenu()},_onRowTrClick:function(a,b,d,c){this._changeSelectedLayerRow(d);b=this._fold(a,b,c);a.isLeaf()&amp;amp;&amp;amp;!b&amp;amp;&amp;amp;(c=g(".legends-div",c)[0],b=g(".legends-loading-img",c)[0],c&amp;amp;&amp;amp;b&amp;amp;&amp;amp;a.drawLegends(c,this.layerListWidget.appConfig.portalUrl))},_changeSelectedLayerRow:function(a){this._currentSelectedLayerRowNode&amp;amp;&amp;amp;&lt;BR /&gt;this._currentSelectedLayerRowNode===a||(this._currentSelectedLayerRowNode&amp;amp;&amp;amp;h.remove(this._currentSelectedLayerRowNode,"jimu-widget-row-selected"),h.add(a,"jimu-widget-row-selected"),this._currentSelectedLayerRowNode=a)},_onPopupMenuItemClick:function(a,b,d,c){c={itemKey:d.key,extraData:c,layerListWidget:this.layerListWidget,layerListView:this};"transparency"===d.key?"none"===k.get(b.transparencyDiv,"display")?b.showTransNode(a.getOpacity()):b.hideTransNode():(a=b.popupMenuInfo.onPopupMenuClick(c),&lt;BR /&gt;a.closeMenu&amp;amp;&amp;amp;b.closeDropMenu())},_exchangeLayerTrNode:function(a,b){var d=g("tr[layerTrNodeId\x3d'"+a+"']",this.layerListTable)[0],c=g("tr[layerTrNodeId\x3d'"+b+"']",this.layerListTable)[0],e=g("tr[layerContentTrNodeId\x3d'"+b+"']",this.layerListTable)[0];this.layerListTable.removeChild(c);this.layerListTable.insertBefore(c,d);this.layerListTable.removeChild(e);this.layerListTable.insertBefore(e,d)},moveUpLayer:function(a){var b=this.operLayerInfos.moveUpLayer(a);b&amp;amp;&amp;amp;this._exchangeLayerTrNode(b,a)},&lt;BR /&gt;moveDownLayer:function(a){var b=this.operLayerInfos.moveDownLayer(a);b&amp;amp;&amp;amp;this._exchangeLayerTrNode(a,b)}})});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534518#M13988</guid>
      <dc:creator>alextang</dc:creator>
      <dc:date>2016-09-28T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List: Expand Layers by Default</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534519#M13989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That is minified code that uses the JS API LayerList widget and has nothing to do with WAB layer list widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 17:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list-expand-layers-by-default/m-p/534519#M13989</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-28T17:16:38Z</dc:date>
    </item>
  </channel>
</rss>

