PROBLEM

The Show Related Records option is not available in pop-ups in ArcGIS Online Map Viewer Classic

Last Published: October 14, 2021

Description

When publishing web maps from ArcGIS Pro to ArcGIS Online, the Show Related Records option is not available in the ArcGIS Online Map Viewer Classic pop-ups. This option is useful to view related records from the related table.

The following image displays the Show Related Records option is not available in a pop-up in ArcGIS Online Map Viewer Classic.

The Show Related Records option is not available in pop-ups in ArcGIS Online Map Viewer Classic.

Cause

This is expected behavior. The related table is created without a prior existing relationship class.

Solution or Workaround

To enable the Show Related Records option, create a relationship class before creating the related table in ArcGIS Pro. Refer to ArcGIS Pro: Create Relationship Class (Data Management) for more information.

  1. Create a relationship class.
    1. In ArcGIS Pro, on the top ribbon, click the Analysis tab > Tools.
    2. In the Geoprocessing pane, search for and select the Create Relationship Class tool.
    3. In Parameters, select the options for the Origin Table, Destination Table, Relationship Type, Cardinality, Origin Primary Key, and Origin Foreign Key sections.
    4. Click Run.
Selecting the desired options for all of the sections in Parameters to create a relationship class.
  1. Create a related table.
    1. In the Contents pane, right-click the feature layer.
    2. Click Data > Export Table.
    3. In the Export Table dialog box, select the option for Input Rows.
    4. In the Output Name parameter, fill in the name and specify the destination for the output table.
    5. Select the expression for the Expression parameter if needed.
    6. Click OK.
Create a new related table by using the Export Table function.
  1. Publish the layer to ArcGIS Online.
    1. On the Share tab, in the Share As group, click the Web Layer drop-down arrow and click Publish Web Layer.
    2. In the Share As Web Layer pane, fill in the Name, Summary, Tags parameters, and click Publish.
Publish the map layer to ArcGIS Online.

The following image displays the Show Related Records option available in the pop-ups in ArcGIS Online Map Viewer Classic.

The Show Related Records option is now available in pop-ups in ArcGIS Online Map Viewer Classic.

Article ID:000026155

Software:
  • ArcGIS Online
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic