English

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

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.

Related Information

Last Published: 10/13/2021

Article ID: 000026155

Software: ArcGIS Online 9.3, 9.2, 9.1 ArcGIS Pro 2.8.3, 2.8.2, 2.8.1, 2.8, 2.7.4, 2.7.3, 2.7.2, 2.7.1, 2.7, 2.6.7, 2.6.6, 2.6.5, 2.6.4, 2.6.3, 2.6.2, 2.6.1, 2.6