HOW TO

Symbolize hosted feature layers using related table values in ArcGIS Online Map Viewer

Last Published: September 2, 2020

Summary

ArcGIS Online Map Viewer allows symbolizing hosted feature layers based on attribute values using Change Style to display data in the desired presentation style. In some instances, it is necessary to change the style based on the values from a related table. While there is no direct function to perform this in ArcGIS Online, it is possible to join the related table with the feature layer attribute table, and symbolize the layer based on the joined values.

This article provides the workflow to create a relationship class between the feature class and related table in ArcCatalog before publishing to ArcGIS Online, and to symbolize the published hosted feature layer based on the related table values.

Procedure

  1. In ArcCatalog, create a relationship class between the feature class and the table based on the Global ID and GUID fields. Refer to How To: Set up related tables for use in ArcGIS Collector for steps to do this.
  2. Publish the feature class and the related table to ArcGIS Online as a hosted feature layer. Refer to ArcMap: Publish a map service from ArcMap for steps to do this.
  3. Open the hosted feature layer in ArcGIS Online Map Viewer, and join the related table with the feature layer.
    1. In ArcGIS Online Map Viewer, click the Analysis tab, and navigate to Summarize Data > Join Features.
    2. In the Join Features pane, select the feature layer for Choose target layer.
    3. For Choose layer to join to target layer, select the related table.
    4. For Select the type(s) of joins, click Choose the fields to match, and select the Global ID and GUID fields.
    5. Select the join operation type, and specify a name for Result layer name.
    6. Click RUN ANALYSIS to perform the join. A new, joined feature layer containing the related table values is added to the Contents pane.
  4. Symbolize the joined feature layer with values from the related table.
    1. On the Details tab, click Content to view the layers in the Contents pane.
    2. Hover over the joined feature layer, and click Change Style.
    3. In the Change Style pane, for Choose an attribute to show, select the desired fields from the related table to symbolize the layer.
    4. For Select a drawing style, select Types (Unique Symbols), and click OPTIONS to configure the symbol.
Image of the Change Style pane.
  1. Click OK, and click DONE to apply the symbol. The layer is symbolized with values from the related table.

Article ID:000023844

Software:
  • ArcGIS Online
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic