Custom Widget: Individual Layers?

4826
12
06-18-2015 03:33 PM
TejpalKang
New Contributor

Hi all,

My first post here!  Just wanted to see if there is a way to setup custom widgets where each widget basically selects an assigned layer.

Very similar to the layer list widget but instead of showing a list of layers it would be individual widgets that opens a select layer.

Thank you all.  If I am posting in the wrong area please let me know.

0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus
AndyBohnhoff
New Contributor II

Robert, thanks for this. I downloaded the widget folder and added it to the client/stemapp/widgets folder. Do I now need to edit my config.json file to be able to select the widget in Web AppBuilder? I am not too familar with editing json files, so I am really unsure of how to add it. Any help would be greatly appreciated, thanks!!

Andy Bohnhoff

0 Kudos
AndyBohnhoff
New Contributor II

I just answered my own question! Within the first ToggleLayers folder was another ToggleLayers folder. I needed to add the 2nd folder to the widgets folder instead of the first. Sorry for the hassle!

Andy

0 Kudos