Displaying Features on the map depending on the user

300
2
Jump to solution
07-11-2022 07:34 AM
Mento
by
New Contributor II

Hi, so I have 12 variables that have been saved as a hosted feature layer. I want to display these features depending on what the user wants to see. So, basically, I was thinking of making a list of variables, and depending on which variable the user selects the map would display the feature layer representing that variable. Is there a way to implement this in experiene builder? 

0 Kudos
1 Solution

Accepted Solutions
TonghuiMing
Esri Regular Contributor

This requirement sounds like a basic filtering function. Refer to details on:

Experience Builder > Build Apps > Select data

Experience Builder > Filter widget 

View solution in original post

0 Kudos
2 Replies
TonghuiMing
Esri Regular Contributor

This requirement sounds like a basic filtering function. Refer to details on:

Experience Builder > Build Apps > Select data

Experience Builder > Filter widget 

0 Kudos
WeiYing1
Esri Contributor

Hi @Mento , when you say 12 variables, does that mean 12 attributes of the layer or 12 features in the layer?
If that is the first case, you may consider using Filter widget set multiple filters for different attributes. 
If that is the later case, you can use Feature Info widget, which display info for each feature, and you can setup Message action in Feature Info to trigger filtering on Map or other widget. 

Thanks,

Wei 

0 Kudos