Summary
By default, the List widget displays all features displayed in the Map widget. Feature records are highlighted in the List widget when map features are selected. However, it is sometimes necessary to filter the List widget to only display the feature record of the selected map feature. This article describes the workflow to do so.
Procedure
Depending on the suitability, use one of the following options to display feature records in the List widget based on the selected feature.
Apply a filter trigger on the Map widget
- In ArcGIS Experience Builder, click Data .
- On the Data panel, browse to and click the web map card to open its details pane.
- In the details pane, on the Layers tab, click the feature layer card to open its details pane.
- In the feature layer details pane, on the Data views tab, click Create a view.
- Rename the view by clicking the Edit button, and click Apply changes on the lower right corner of the window. In this example, the data view is named ‘List data view’.
- Click the List widget on the canvas to open its configuration panel.
- On the configuration panel, on the Content tab, select the data view from the drop-down of the selected data. In this example, the data view named ‘List data view’ is selected.
- Add and configure a trigger for the Map widget.
- Click the Map widget on the canvas to open its configuration panel.
- On the configuration panel, on the Action tab, click Add a trigger, and click Record selection changes.
- In the Select a target pane, click Framework, and click Filter data records for Select an action.
- In the Action settings pane, click Select data under Trigger data and select the web map’s feature layer.
- In the Action settings pane, click Select data under Action data and select the web map’s feature layer.
- Under Action data, select the data view from the drop-down menu under the feature layer. In this example, ‘List data view’ is selected.
- Click Save to save the configurations.
The image below displays the List widget showing only the selected record when a feature is selected after applying the filter trigger on the Map widget.
Enable Show selection in the List widget
- Follow Steps 1 through 7 from the method above.
- On the configuration panel, on the Content tab, click Tools drop-down to expand the configuration options.
- Turn on the Show selection toggle.
- Click Save to save the configurations.
The image below displays the List widget showing only the selected record when a feature is selected after enabling the 'Show selection' option in the List widget.