PROBLEM

Unable to display configured layer fields in the Attribute Table widget in ArcGIS Web AppBuilder

Last Published: February 15, 2022

Description

In ArcGIS Web AppBuilder, it is possible to configure layer fields in the Attribute Table widget. In the layer field's configuration, fields can be selected for display and the field's alias can be edited. These changes are reflected in the web app's attribute table. However, when the Show option is unchecked in the Configure Attribute Table window, the changes during the configuration are not displayed in the attribute table.

Cause

This is by design. The changes to the layer fields configuration are not displayed when the Show check box is unchecked in the Attribute Table widget's configuration window.

Solution or Workaround

To circumvent the issue, use one of the following workarounds.

Hide fields or change the field's alias in the feature layer's Visualization tab

  1. In ArcGIS Online, open the item details page for the feature layer.
  2. On the layer's item details page, click the Visualization tab.
  3. On the left pane, click the Configure Pop-up The Configure Pop-up icon. icon. In the Configure Pop-up pane, click Configure Attributes.
The Configure Pop-up pane displaying the Configure Attribute option.
  1. In the Configure Attributes window, configure the desired fields.
    1. In the Display column, uncheck the check box of the desired field. In this example, TestField1 is unchecked.
    2. In the Field Alias column, change the alias of the desired field. In this example, TestField2 alias is changed to TestFieldNameChange.
    3. Click OK.
The Configure Attributes window displaying the selected fields and changed field alias.
  1. In the Configure Pop-up pane, click OK.
  2. In the layer's Visualization tab, click Save Layer.
The feature layer's Visualization tab showing the Save Layer button.
  1. In ArcGIS Web AppBuilder, refresh the web app.
  2. Open the attribute table using the Layer List widget. Refer to ArcGIS Web AppBuilder: Use the Layer List widget for instructions.

The attribute table shows TestField1 is not displayed and TestField2 is changed to TestFieldNameChange.

The attribute table displaying the selected fields and changed field alias.
Note:
If future changes are required in the attribute table, it is still possible to use the Attribute Table widget to configure the layer fields, but the Show check box must be checked to display the changes.

Change the field's alias in the feature layer's Data tab

  1. In ArcGIS Online, open the item details page for the feature layer.
  2. On the layer's item details page, click the Data tab.
  3. On the Data tab, click Fields.
  4. On the Fields page, select the desired field. In this example, TestField2 is selected.
  5. Click the pencil button next to the field's name.
The layer's Data tab displaying the selected field.
  1. Change the field's name to a desired name. In this example, TestField2 is changed to TestFieldNameChange.
  2. Click Save.
The layer's Data tab displaying the changed field alias.
  1. In ArcGIS Web AppBuilder, refresh the web app.
  2. Open the attribute table using the Layer List widget. Refer to ArcGIS Web AppBuilder: Use the Layer List widget for instructions.

The attribute table shows the TestField2 is changed to TestFieldNameChange.

The attribute table displaying the changed field alias.
Note:
If future changes are required in the attribute table, it is still possible to use the Attribute Table widget to configure the layer fields, but the Show check box must be checked to display the changes.

Create a view layer and hide fields in the layer's Update View settings

  1. Create a view layer from the feature layer. Refer to ArcGIS Online: Create a hosted feature layer view for instructions.
  2. In the view layer's Update View page, in the Layer definitions pane, in Fields > Select fields, select the desired fields to be displayed in the attribute table. Refer to ArcGIS Online: Edit a hosted feature layer view definition for instructions.
  3. Open the view layer in Map Viewer or Map Viewer classic, and save it as a web map.
  4. Create an ArcGIS Web AppBuilder app using the web map created in step 3. Refer to ArcGIS Online: Create apps from maps for instructions.
  5. Open the attribute table using the Layer List widget. Refer to ArcGIS Web AppBuilder: Use the Layer List widget for instructions.
Note:
If future changes are required in the attribute table, the layer fields can be configured in the view layer's Update View page. Refer to ArcGIS Online: Edit a hosted feature layer view definition for instructions.

Article ID: 000027146

Software:
  • ArcGIS Web AppBuilder
  • ArcGIS Online

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