Has anyone had any luck getting LocalLayer widget to work in any version higher than 2.5? I see the latest version of the locallayer widget is v2.5 and wondering if that version is intended to match the WAB version? When following the steps on WAB 2.8 I cannot get it to load from the default. However, loading the widget to an app that was already created in (WAB 2.8) i am able to get the widget to load and also connect to rest services correctly. The problem is that now the data loads but it hoses all the other widgets and WAB. I was just wondering if anyone has ran across this or knows of any plans/workaround to use in a later version of Web Appbuilder.
Figure out the problems. Tried on MacOS and it worked. It seems it was something happening with the Windows Linux Subsystem. Executing the Widget using .BAT file fix the problem.
It's been awhile since I looked at the widget. The first time I ran through the install it would show up in the WAB but would freeze the entire page. "I think" what i did to fix it was silly, but it worked. I just changed the code from "visible": true to "visibile": false. Now when I create new webapps it shows up grayed out. I click the eye icon to make it visible and it works every time now. No explanation to why that works, but it worked for me and I have used it on at least 10 different applications with different themes using WAB 2.8 with no issues.
This is how I have it set up too, Garrett. This way I can toggle it 'on' for the apps I want to use it in, but can leave it 'off' if I just want to load a web map.
In the 2.8 version, you can use LocalLayer to just add additional layers to the existing layers in a web map. This is handy if you have, say, an RSS feed set up in a web map, but you want to bring some LocalLayer layers in on top of them. Glad to hear it's working for you!