Description
In ArcGIS Experience Builder, selecting a feature on the Map widget automatically expands the sidebar containing an Edit widget, even when the Edit widget is not intended to be used. This obstructs the map behind it, making it difficult for users to view and interact with the map effectively. The experience below shows the map obstructed when the Edit widget is automatically expanded.
Cause
This is expected behavior, as the Edit widget is designed to be data-centric. When selecting or updating features in an experience, all widgets using the same data source automatically reflect the changes. Refer to ArcGIS Experience Builder: Edit widget for more information.
Solution or Workaround
Use the Button widget and the Sidebar layout in a window
- Log in to ArcGIS Online and open the experience in ArcGIS Experience Builder.
- Click the Page tab to open its panel. Click the Window tab, and click Add window
. In Add window, select Sidebar.
- In the Page panel, on the Window tab, under Outline, configure the following parameters.
- Click Image > More
and select Delete. - Click Column > More
and select Delete.
- Click Insert to open the Insert widget panel. On the New tab, under Data centric elements, drag the Edit widget into the expanded sidebar in the experience.
Note:
Optionally, adjust the size of the Edit widget by dragging it to fit the sidebar. Click Arrange
and select Send backward to ensure the close button is visible to use.
- In the Edit panel, on the Content tab, under Mode, click the drop-down arrow and select Map.
- Click the Page tab and in its panel, on the Window tab, under Fixed windows, click Window to open the Window panel.
- In the Window panel, toggle the Block page option off.
- Click Insert to open the Insert widget panel. On the New tab, under Page elements, drag the Button widget into the canvas.
- In the Button panel, on the Content tab, click Set link.
- In the Set link window, under Link to, click the drop-down arrow and select Window. Under Select a window, click the drop-down arrow and select the window. Click OK.
Note:
Optionally, in the Button panel, under Text, specify the text of the Button widget.
- Click Save
> Preview
.
The experience below shows the Edit widget in the sidebar expanded when the Button widget is clicked.
Use the Button and Widget Controller widgets
- Log in to ArcGIS Online and open the experience in ArcGIS Experience Builder.
- Click Insert to open the Insert widget panel. On the New tab, under Menu and toolbars, drag the Widget Controller widget into the experience.
- Click the Add widget button. Under Data centric, select the Edit widget in the widget gallery, or drag the Edit widget from the Insert widget panel onto the controller.
- In the Insert widget panel, on the New tab, under Page elements, drag the Button widget into the experience.
- In the Button panel, on the Action tab, click Add a trigger.
- In the Select a trigger panel, click Button click.
- In the Select a target panel, under Widgets, click Widget Controller.
- In the Select an action panel, click Open widget.
- In the Action settings panel, under Open widget, click the drop-down arrow and select Edit.
Note:
Optionally, drag the Edit widget behind the Button widget to hide its visibility in the experience.
- Click Save
> Preview
.
The experience below shows the Edit widget pops up when the Button widget is clicked.