English
Continue in the app
Be The First To Get Support Updates
Want to know about the latest technical content and software updates?

FAQ: Why is a related table not retained when publishing a feature class from ArcGIS Pro to ArcGIS Online?

Question

Why is a related table not retained when publishing a feature class from ArcGIS Pro to ArcGIS Online?

Answer

ArcGIS Pro allows the publishing of various data types to ArcGIS Online and ArcGIS Enterprise using several options. Refer to ArcGIS Pro: Share with ArcGIS Pro for more information on sharing data.

In some instances, when publishing a feature class containing a related table from ArcGIS Pro to ArcGIS Online, the table is not retained. This issue occurs if the feature class is shared through an incorrect process, for example, if the feature class is shared through the Contents pane.

To correctly retain the related table when publishing a feature class to ArcGIS Online, publish all the layers in the map as a web layer using the steps provided below.

  1. In the ArcGIS Pro project, ensure all the feature classes and related tables are added to the same map.
The Contents pane with all the feature classes and related tables added to the same map.
  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, and Tags parameters, and click Publish.

To view the related records in ArcGIS Online, open the hosted feature layer in the item details page, and click Open in Map Viewer. Click any feature on the map, and click Show Related Records in the pop-up. Records from the related table of the selected feature are displayed in the attribute table.

The related records displayed in the attribute table in Map Viewer.

Related Information

Last Published: 10/24/2021

Article ID: 000023738

Software: 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, 2.4.3, 2.4.2, 2.4.1, 2.4, 2.3.3, 2.3.2, 2.3.1, 2.3, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.3, 2.1.2, 2.1.1, 2.1, 2.0.1, 2.0