AnsweredAssumed Answered

Copying existing widget with WAB Dev Edition

Question asked by Tiaman on Feb 2, 2016
Latest reply on Feb 2, 2016 by Tiaman

So I am trying to make some modifications to the layer list widget with WAB Developer edition. I'm going to modify just a few lines of code so that my widget doesn't show all the layers in the map, just the few I actually want to be on there.

 

I don't want to completely overwrite the original layerlist widget so I made a copy of the folder for the original LayerList widget, and pasted it back in as "LayerListSelect" . I modified the Widget.js for my "new" widget to reflect the new name. When I go to edit my app and add a new widget, both the original layerlist and my modified version show up with the same name, so I'm not sure which one I'm looking at.

 

I'm sure this is really simple and I've tried looking at the documentation, but I just don't know enough to see what I'm overlooking.

 

Thanks

Outcomes