HOW TO

See the properties of a relationship for a layer in a hosted feature/map service

Last Published: April 16, 2024

Summary

When creating a relationship class different properties can be chosen such as type, cardinality, etc. These properties are stored with the relationship class in the file geodatabase (FGDB). In ArcGIS Pro and ArcMap, you can see these properties for an existing relationship by right-clicking the relationship class in the FGDB, and selecting Properties in the Catalog pane, as shown in the following image.

relationship properties
It may be necessary to check the properties of a relationship for a layer in a feature/map service published to a portal or ArcGIS Online. One way is to export data as an FGDB and check the properties in ArcGIS Desktop.  However, most of the same properties can be seen on a feature service or a map service as well without having to look at the source data or export data to a file geodatabase to check the relationship properties in Desktop.
 

Procedure

To do this, follow the steps below:

  1. Go to the REST endpoint of the service by clicking View next to the URL on the item details page in Portal and/or ArcGIS Online, or from the Capabilities tab in Server Manager.
  2. Select the layer that you want to check the relationships for (or click All layers and tables to check all layers).
  3. Open the JSON for the selected layer.
  4. The properties for each relationship for each layer are found in the JSON, as shown below.
Item details pageCapabilities tab in Server Manager

Article ID: 000027157

Software:
  • ArcGIS Online
  • Portal for ArcGIS

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