Select to view content in your preferred language

Hide points by default and use Filter Widget to show

582
1
03-30-2023 01:49 PM
Labels (1)
abureaux
MVP Frequent Contributor

Hello,

I am trying to prep for the eventual discontinuation of WAB, and am exploring EB. While I try to recreate things, I am seeing that EB handles layers differently than WAB, and am wondering if there is a workaround.

Scenarios

1) WAB: Map loads empty. Toggling a filter shows or hides those points.

2) EB (same set-up as WAB): Map loads empty. Toggling a filter does nothing.

3) EB (works but not a resonable solution): Map loads showing all points. Toggling a filter drills down to that level.

Set-up

For scenarios 1 and 2:

  • I have a web map with a point layer
  • The points are hidden by default (see image below)
    abureaux_0-1680206478439.png
  • In WAB, I have a Filter widget with multiple simple filters (see image below).
    abureaux_1-1680206569074.png

For scenario 3:

  • Same as 1 and 2, but I checked the layer 'on' for the web map.

Can I get the functionality I had in WAB?

0 Kudos
1 Reply
TonghuiMing
Esri Regular Contributor

The current behavior for visibility does vary from WAB. Maybe the following workaround will help with your scenario?

https://community.esri.com/t5/arcgis-experience-builder-questions/overwrite-default-map-filter/m-p/1... 

 

0 Kudos