Is it possible to exclude layers from a layer list? This was an option for the layer list widget in the flex viewer. I liked this capability because it was possible to create multiple, different layer lists within the application.
Bryan,
This not currently a configurable option. You need to call tech support and log an enhancement request for this. In the mean time, I can provide some code change guidance on this if you are using WAB Dev edition and are up for some code changing.
Thanks Robert,that was helpful.
Iris,
Can I remove it from the Layer list by still maintaining the join?
Yes just follow the advice in this thread: Re: Can I remove layers from my LayerList in a WAB created map?
Hi Robert,
In WAB layerlist I can also see the join table which I have on one of the layer in the Mapservice used in webmap.Can I remove it from the Layer list by still maintaining the join?Also if yes ,can you please provide some code change guidance?
Thanks
Iris
Can I remove layers from my LayerList in a WAB created map?
Yes. With minor tweaking too...
I am also looking for a way to do this. Has anyone come up with a solution?
I'm looking for a way to do this as well. I need to be able to add a separate set of layers that are not listed in the app's main layer list. Right now I'm trying to decide if I should modify the layer list widget code or create a second layer list. Either way I haven't found a way to stop the main layer list widget from adding any new layers to its list immediately.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.