Is there a way to prevent a "curated" web layer from being automatically included in the legend after it has been added to the web app with the Add Data Widget?


We have a lot of layers on our Web GIS and decided to de-clutter portal maps/apps Layer Lists by removing layers that aren't frequently used but still allow users to add them into the web apps by using the Add Data Widget (after marking select layer services as "curated")

The Add Data Widget works well and users can add any of the "curated" layers, however these added layers get automatically added to the legend although we've configured the layers to hide legends and saved the layers (Save Layer) in portal. I was expecting the same behaviour as if I were to add a layer that has been configured and saved in portal to a new map - a previously saved layer inherits the hide in legend setting, popups and other behaviour. It seems when such layer is added to a RUN-TIME app via the Add Data Widget it ignores the the saved layer behaviour: shows the legend by default and ignores any custom popup behaviour.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.