Feature Info widget

The Feature Info widget shows details about data from feature layers and scene layers. It inherits the pop-up content defined for the associated feature layers (see Pop-ups: the essentials for details). If pop-ups are not configured for a feature layer, the widget returns a list of all the attributes from the feature layer instead. For scene layers, pop-up configuration is not supported, so the widget returns a list of all the attributes about the scene data.

Examples

Use this widget to support app design requirements such as the following:

  • You want to add a panel that displays information about selected features.
  • You want to display pop-ups for selected map features in a panel outside of the map frame.

Usage notes

This widget requires connection to at least one data source. If a data source has related data and you configure related records in pop-ups in Map Viewer, you can view related records with the Feature Info widget in Experience Builder.

Settings

The Feature Info widget includes the following settings:

  • Source—Select one or more data sources. In data view settings, you can filter the data to restrict what appears in the widget, sort the data to display features in a particular order, or limit the number of features.
  • Details options—The pop-up information includes title, content, media, and attachments. If the feature layer has update tracking enabled, the pop-up can also include details for the last edit made. When configuring a Feature Info widget, you can optionally turn these details on or off, depending on what’s necessary to display in your app.
  • Style—By default, text in the widget matches the app theme. You can choose Custom from the drop-down menu to change the text size and color. When the layer has custom pop-ups, you can respect the source style.
  • No data message—Optionally, enter a message that displays when a feature is missing the expected attribute or no features meet the specified criteria.

Interaction options

This widget supports actions, which you can configure on the Action tab of the widget's settings.

Configure message actions to create automatic interactions between widgets. For example, to make a Map widget automatically zoom to features when the user makes a selection, you can add the Record selection changes trigger, select a Map widget as the target, and add the Zoom to action.

Turn on data actions to add buttons to the widget's user interface for performing data processing tasks, such as exporting, zooming to, and calculating statistics for selected features. If you turn on Enable data action, the Action button appears in the widget panel. You can click this button to open a drop-down menu that lists all of the data actions you turn on in the widget's settings.

  • The data actions under Current affect the currently displayed record.
  • The data actions under All data affect all records.