Select to view content in your preferred language

Layer List: Expand Layers by Default

18262
60
Jump to solution
06-18-2015 04:26 PM
AdamAraza1
New Contributor II

I thought I had posted this on here already, but I can't seem to find it....

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?

0 Kudos
60 Replies
RobertScheitlin__GISP
MVP Emeritus

George,

   What error is presented in your browsers web console?

GeorgeKatsambas
Occasional Contributor III

layer list console

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Yep you have introduced a syntax error in your code then.

GeorgeKatsambas
Occasional Contributor III

OMG, again!! I  found it, geez , thanks Robert, I looked and looked and did not see it at first.

0 Kudos
by Anonymous User
Not applicable

Did WAB 2.5 break this? 

I can't get it to work. Anyone else? I tested it here with a completely fresh WAB 2.5.  All I did was add in this code block to enable all popups.They do not work. This was very useful. Esri should add as a config option behavior Kelly Gerrow

Test Site - All Popups Enabled with Mod - WAB 25 

0 Kudos
GeorgeKatsambas
Occasional Contributor III

No it works

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Kevin,

   That is not the same topic that is being covered by this thread. You may want to start a new thread.

0 Kudos
by Anonymous User
Not applicable

Hi Robert, indeed you are correct! I migrated my widgets but not the WAB base. I recalled your mod was to LayerInfoForDefaultService and LayerInfoForDefault in jimu.js. Thanks! It still works perfect.

0 Kudos
KateřinaUhlířová
New Contributor II

Hi,

is it same in 2.14?

Thanks

Katka

0 Kudos
HenryMoore
New Contributor II

Yes. Works in 2.15 as well.

0 Kudos