PROBLEM

Automatic filters are not applied when the Filter widget is used with the Widget Controller widget in ArcGIS Experience Builder

Last Published: May 17, 2024

Description

In ArcGIS Experience Builder, the feature layer visibility on the map can be toggled on and off using the Filter widget, and these filters can be applied automatically when the app is open using the 'Apply this filter automatically' setting. However, when using the Filter widget with the Widget Controller widget, the Filter widget cannot automatically filter features. The map below shows the Filter widget not automatically filtering feature layers.

The Filter widget only filters automatically for one feature layer

Cause

This is by design. The ‘Apply this filter automatically’ setting cannot be toggled because widgets in the Widget Controller do not open automatically when the page loads.

Solution or Workaround

Configure the Behavior setting in the Widget Controller panel

  1. In ArcGIS Experience Builder, navigate to the Insert widget panel.
  2. Under Menu and toolbars, drag and drop the Widget Controller widget onto the canvas.
Widget Controller widget button
  1. In the canvas, drag the Filter widget into the Widget Controller.
  2. In the Widget Controller panel, on the Content tab, under Behavior, expand the Open widgets on loading drop-down menu and select Filter.
Widget Controller panel
  1. Click Save to save the experience and click Publish to publish the experience to ArcGIS Online.
Save and publish the ArcGIS Experience Builder
  1. To view the published experience, click More from the toolbar at the top of the builder window and click View published item.
View published item in the toolbar builder

The map shows all the feature layers automatically filtered when the Filter widget is clicked.

All feature layers automatically filtered when clicking the Filter widget in the widget list

Remove the Filter widget from the Widget Controller

  1. In ArcGIS Experience Builder, on the canvas, drag the Filter widget out of the Widget Controller.
  2. In the Filter panel, under Options, toggle Apply this filter automatically on for all the required feature layers. Refer to ArcGIS Experience Builder: Filter widget for more information.
Toggle Apply this filter automatically on in Filter panel
  1. Click Save to save the experience and click Publish to publish the experience to ArcGIS Online.
Save and publish the ArcGIS Experience Builder
  1. To view the published experience, click More from the toolbar at the top of the builder window and click View published item.
View published item in the toolbar builder

The map shows all the feature layers automatically filtered when the Filter widget is reconfigured.

All feature layers filtered automatically when the Filter widget is reconfigured

Article ID: 000032442

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