ExpBuilder App is sending request to all layers of the webmap at onload though their visibility is made off in webmap itself

411
3
Jump to solution
03-28-2025 08:41 AM
Vara_PrasadM_S
Frequent Contributor

Hi Team,

We have a web map with group layers and feature layers as sub layers. Visibility of all these layers is set to off in web map itself. This web map is added to ExpBuilder App > Data tab. Used it as source for Map widget. Though the layer's visibility is off in web map itself, on load of the experience builder app, its sending request to all the layers. Why is it sending requests to all the invisible layers?

Vara_PrasadM_S_0-1743176170962.pngVara_PrasadM_S_1-1743176381417.png

We are suspecting it is because the web map is added to Data tab and app is creating data sources. Can we avoid this?

Any pointers on why this is happening. Thanks in advance!

 

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Frequent Contributor

Yes, the data from invisible layers will still load with the rest of the map. If you don't want the data to load with the map, you can add data at run-time, but that comes with it's own set of challenges and drawbacks.

GIS Developer
City of Arlington, Texas

View solution in original post

3 Replies
JeffreyThompson2
MVP Frequent Contributor

Yes, the data from invisible layers will still load with the rest of the map. If you don't want the data to load with the map, you can add data at run-time, but that comes with it's own set of challenges and drawbacks.

GIS Developer
City of Arlington, Texas
TimWestern
MVP

yeah, the opposite has been a head scratcher in several apps and custom widgets I've seen in the last year.

0 Kudos
Vara_PrasadM_S
Frequent Contributor

Thank you very much @JeffreyThompson2. Your support is really commendable. Thank you so much for your great support.

0 Kudos