Select to view content in your preferred language

Changing symbology with widget filter in Experience Builder

593
2
10-22-2024 03:24 AM
GDS
by
Emerging Contributor

Hi everyone,

I have an Experience builder with a map, a layer and a widget filter, and I would like the symbology to change according to the filter applied. I managed to do it with a view layer and with the zoom changing, the problem is I need 2 different filters and therefore 3 different symbology (1 for the main layer and 2 for the filters), so my way to do it is not working with more than 2 layers.

Thanks for the help

0 Kudos
2 Replies
ChristopherCounsell
MVP Regular Contributor

Typically in these scenarios you add a Map Layer widget and allow users to turn layers on or off.

Your filters could be applied on the Map layers themselves and symbology applied on each layer as desired.

https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/map-layers-widget.htm

The filter widget would be difficult to use to custom apply symbology...

You could also consider other preset options like multiple maps, different tabs or pages, data actions.

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

Experience Builder does not have a true built in way of altering symbology. You can fake a symbology change by hiding a copy of a layer underneath your regular data layer.

https://community.esri.com/t5/experience-builder-tips-and-tricks/grey-out-map-features-instead-of-re...

If you actually want to change symbology, you will need to make a custom widget.

GIS Developer
City of Arlington, Texas
0 Kudos