HOW TO

View related data in ArcGIS Experience Builder

Last Published: October 14, 2024

Summary

Related data consists of records linked to a feature but stored in a different layer or table, allowing access to a broader range of information. For example, a data relationship between a layer showing cities and another layer containing fire protection facilities within the cities is created and shared for public information and awareness. In ArcGIS Experience Builder, accessing this related data is essential, as it provides valuable context and highlights the connections between different datasets.

Depending on the requirements and design preferences, several options are available for viewing related data in ArcGIS Experience Builder.

Procedure

Use pop-ups to view related data

A pop-up displays a feature’s attributes and can be customized to display various information, including related data. In ArcGIS Experience Builder, the ‘Related data’ action provides a list of related data associated with the selected feature.

  1. Open the ArcGIS Experience Builder web experience.
  2. On the canvas, click the Map widget to open the Map pane.
  3. In the Map pane, on the Content tab, under Options, toggle Enable pop-up on.
  4. On the Action tab, click the Data action tab. Toggle Enable data action on and check the Related data check box.
  5. Save, preview, and publish the experience.
  6. Click a feature on the map. In the pop-up, click Actions The Actions icon. > Related data.

The related data is accessed through a pop-up that displays when a feature is selected on the map.

The related data in the pop-up through the Actions button.

Alternatively, pop-ups in ArcGIS Online Map Viewer also allow for the display of related data, and these configurations are reflected in ArcGIS Experience Builder. Refer to ArcGIS Online: Show related records for instructions on displaying related data in a pop-up in ArcGIS Online Map Viewer. In ArcGIS Experience Builder, go to the Map pane and turn the Enable pop-up button on.

The related data is displayed in the ArcGIS Experience Builder pop-up as configured in ArcGIS Online Map Viewer.

The related data in the pop-up as configured in ArcGIS Online Map Viewer.

Enable data action in widgets to show related data

To view and interact with the related data for a layer in a widget, enable the data action for the source widget. Refer to ArcGIS Experience Builder: Data actions for more information.

  1. Open the ArcGIS Experience Builder web experience and navigate to the Insert widget panel.
  2. Drag and drop the desired widget to the canvas. In this example, the Table widget is added.
  3. In the widget’s pane, add the parent layer and configure the widget to display the appropriate attributes. Refer to ArcGIS Experience Builder: Add data to an app for further instructions.
  4. On the Action tab, click the Data action tab. Toggle Enable data action on and check the Related data check box.
  5. Save, preview, and publish the experience.
  6. On the widget, select a data record. Click Actions The Actions icon. > Related data.

The image below shows the Table widget displaying the related data for the selected data record.

The related data in the Table widget.

Create an interaction with the Map widget to display related data

Related data can be viewed by adding a widget to display the related data, then adding an action trigger to the Map widget. When a feature on the map is selected, the interaction triggers the widget to display the related data associated with the parent layer.

  1. Open the ArcGIS Experience Builder web experience.
  2. Configure the widget to display the related data.
    1. In the Insert widget panel, drag and drop the desired widget to the canvas. In this example, the Feature Info widget is added.
    2. In the widget pane, add the related data. Refer to ArcGIS Experience Builder: Add data to an app for more information.
    3. Under Data, click the selected feature layer’s drop-down list options, and select Selected features.
The Selected features option in the widget pane.
  1. Configure the Map widget.
    1. On the canvas, click the Map widget to open the Map pane.
    2. On the Action tab, under Message action, click Add a trigger.
    3. For Select a trigger, click Record selection changes.
    4. For Select a target, click Framework.
    5. For Select an action, click Select data records.
    6. In the Action settings panel, for Trigger data, click Select data and select the parent layer.
    7. For Action data, click Select data and select the related data.
    8. For Conditions, toggle Trigger / action connection on and select Use layer's relationship.
The configured Action settings panel.

The image below shows the Feature Info widget displaying the related data for a feature selected on the map.

The related data in the Feature Info widget.

Article ID: 000033700

Software:
  • ArcGIS Experience Builder

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options