PROBLEM

Some fields are not displayed in the attribute table in ArcGIS Online Map Viewer

Last Published: March 12, 2021

Description

When viewing an attribute table in ArcGIS Online Map Viewer, some fields are not visible until the [+] button is clicked to display the fields. However, after saving the web map, the attribute table reverts to the original view, and the fields are not visible in the table.

Cause

The fields are not configured to display in the attribute table in the ArcGIS Online pop-up.

Solution or Workaround

Choose one of the methods below to resolve the issue.

Configure the field to be visible from Pop-up Contents

  1. Log in to the ArcGIS Online organizational account.
  2. Click Content, and click the My Content tab. Select the hosted feature layer to open the item details page.
  3. On the item details page, click the Visualization tab.
  4. On the Visualization page, click the Configure Pop-up icon on the layer.
Clicking the Configure Pop-up icon in the Visualization tab to configure the pop-up contents.
  1. Fill in the Pop-up Title box. Under Pop-up Contents, click Configure Attributes.
Clicking Configure Attributes under Pop-up Contents in the Configure Pop-up pane to configure the pop-up attributes.
  1. In the Configure Attributes window, check the Display check box of the desired field.
Checking the Display check box to display the desired field in the attribute table.
  1. Click OK to close the Configure Attributes window. Click OK again.
  2. Click Save Layer to save the changes.

Configure the field to be visible from Attribute Expressions

  1. Log in to the ArcGIS Online organizational account.
  2. Click Content, and click the My Content tab. Select the hosted feature layer to open the item details page.
  3. On the item details page, click the Visualization tab.
  4. On the Visualization page, click the Configure Pop-up icon on the layer.
  5. Fill in the Pop-up Title box. Under Attribute Expressions, click the ADD button.
Clicking the ADD button to configure the pop-up contents under Attribute Expressions by adding the desired field.
  1. Rename the expression to the desired field name by clicking the Edit icon on the top of the expression editor window, and click Save.
  2. In the Expression window, copy and paste the following expression script in the Expression box with the desired field name.
return $feature.<fieldname>
  1. Click OK to close the expression editor window. Click OK again.
The Expression window with the name of the desired field, and the expression script in the Expression box to show the desired field in the attribute table.
  1. Click Save Layer to save the changes.

The following image shows the desired field is displayed in the attribute table in Map Viewer.

The desired field stays visible in the attribute table even after saving the changes.

Article ID: 000025175

Software:
  • 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