Experience Builder - Select in the map widget should trigger the selection to move to the top of the List widget

2278
2
Jump to solution
01-25-2022 02:03 PM
AmyRoust
Regular Contributor

Experience Builder users - please tell me that I'm missing something with the Action settings!

Here is my site (under development)

https://experience.arcgis.com/experience/590b624f1a8c46e68821463e829b95c5

When you click on a location in the map, the List widget is set to draw a heavy black box around the associated card for that location. However, the List only scrolls up far enough to get that selected card at the bottom of the List. It looks like this:

AmyRoust_0-1643148059942.png

 

I'd like to have the List widget scroll up far enough that the selected item is at the top of the List. Surely I am missing an Action setting somewhere? It should look like this:

AmyRoust_1-1643148153062.png

 

As an alternative, I could live with the List filtering so that the selected location is the only one in the list, and when you deselect, all of the locations appear again.

 

0 Kudos
1 Solution

Accepted Solutions
ShengdiZhang
Esri Contributor

Hi @AmyRoust ,


As an alternative, I could live with the List filtering so that the selected location is the only one in the list, and when you deselect, all of the locations appear again.

You can do this with the data view and message action, see the following steps:

1. In the Data panel - feature layer, create a data view and call it something like List data view

ShengdiZhang_0-1644821803498.png

 

2. Add a list widget, and choose the List data view

ShengdiZhang_1-1644821860413.png

3. Select the map widget, go to the Action tab, and add a trigger - Record selection changes - Framework - Filter data records. Make sure you use the List data view for the Action data.

ShengdiZhang_2-1644822096915.png

In this way, the list widget shows all data when no record is selected, the selected record when a record is selected (or the selected records if multiple selections are made using the map Select tool), and the map widget always shows all data.

Regards,

Shengdi

View solution in original post

2 Replies
ShengdiZhang
Esri Contributor

Hi @AmyRoust ,


As an alternative, I could live with the List filtering so that the selected location is the only one in the list, and when you deselect, all of the locations appear again.

You can do this with the data view and message action, see the following steps:

1. In the Data panel - feature layer, create a data view and call it something like List data view

ShengdiZhang_0-1644821803498.png

 

2. Add a list widget, and choose the List data view

ShengdiZhang_1-1644821860413.png

3. Select the map widget, go to the Action tab, and add a trigger - Record selection changes - Framework - Filter data records. Make sure you use the List data view for the Action data.

ShengdiZhang_2-1644822096915.png

In this way, the list widget shows all data when no record is selected, the selected record when a record is selected (or the selected records if multiple selections are made using the map Select tool), and the map widget always shows all data.

Regards,

Shengdi

AmyRoust
Regular Contributor

FANTASTIC! Thank you, @ShengdiZhang. That definitely fits the experience that we want.

0 Kudos