Hello!
I am building out a simple mapping application using Experience Builder. I have a layer within my web map that I am using for arcade expressions within my popups but I don't want the layer showing up in my legend or layer list. In the past, when using map viewer classic and WAB, this process of hiding the layer in my layer list was pretty straightforward but it doesn't seem to be a functionality within Experience Builder/the new version of Map Viewer.
I have figured out how to hide the layer from my legend but still no luck with the layer list. It seems like such a simple functionality, I would be surprised for it not to be supported yet.
Any assistance is much appreciated!
Thanks!
Thanks1
Solved! Go to Solution.
Is there a way to have this functionality added to Experience Builder in Enterprise as well?
This feature will not be included until Enterprise 11.2.
@TonghuiMing this is great! Thank you!
This may be a somewhat different issue, but how do I customize the layer widget ("tool") within the EB Map framework? I would like to achieve the same result of hiding some layers without removing them entirely from the web map.
If you select the layers widget in the Wxb editor, there is now an option to 'customize layers'. selecting this pops out a new pane which will let you edit the visible layers in the widget. This has no effect on the layer visibility on the map, but it can disallow the toggling of visibility:
Hope that helps!
Thanks, this is part of the solution. Note that what I'm speaking to is a little different. The difference is that the standalone layers widget is unlike the "tools" layer widget in terms of access and customization. My critique is that the "tools" widgets don't allow users the ability any level of customization (as is shown in your screenshot, JoshuaReyling)
.The solution to my use case is to, in fact...
A somewhat convoluted process, but it works. Apparently, the standalone widgets interact with the "tools" widget on the backend...wouldn't be surprised if this is some kind of happy accident that ESRI engineers aren't even aware of.
Overall, I think it would be a significant improvement if the devs could simply build in customization access for the "tools" versions of these widgets.
@lzk222 Is this still working for you?
I am having issues trying to hide a layer in the layers tool rather than the layer widget.
However, before struggling to figure out how to 'hide' the layer list widget, It looks like the settings are not transferring over to the tool.
Curious if this is still working for you, or if you have found a new way to hide a layer in the built in layer tool
Really like the layer tool as it doesn't need a wiget, doesn't take up space until opened, and, has a legend in it as well.
I do see that the legend part honors the don't show in legend in the web map.
Thanks for any input,
R_
In the OOTB functions, the custom layers configurations are not supposed to be affected by the widget settings, since there are cases where multiple Layers widget are connected to the same map, and some might want them to display and control certain layers separately.
Thanks TonghuiMing, good to know.
So, still no way to hide layer visibility in the Layers 'Tool' then? Do you know if there are any plans for it?
R_
That's correct. Unfortunately, there are no clear plans for that yet.
But we will watch the support and community feedback to evaluate continuously.