PROBLEM

Unable to label features and create a label class for group layers from a web map in ArcGIS Pro

Last Published: May 24, 2024

Description

When adding a web map from ArcGIS Online to ArcGIS Pro, the sublayers in the group layer cannot be labeled, and label classes cannot be created. Although the options are available, enabling labeling and selecting the 'Create label class' option yield no results.

The image below shows the empty Label Class pane for the sublayers in ArcGIS Pro. In this example, PotentialCustomers and CustDriveInt are the sublayers within the Proximity group layer.

The empty Label Class pane.

Cause

The label class for the hosted feature layer is not created in ArcGIS Online, although the labels are enabled for the layer.

Solution or Workaround

Create a label class in ArcGIS Online Map Viewer and re-add the web map in ArcGIS Pro

  1. In ArcGIS Online Map Viewer, create a label class. Refer to ArcGIS Online: Apply labels for instructions.
    The configured label class.
    1. Open ArcGIS Pro and re-add the web map.
    The List By Labeling option displaying the label class for the sublayer
    Note:
    Alternatively, update the web map previously added in ArcGIS Pro.

    Copy and paste the sublayer onto the parent group layer in ArcGIS Pro

    1. Open the web map in ArcGIS Pro.
    2. In the Contents pane, right-click the sublayer and select Copy.
    The Copy option in the Contents pane.
    1. Right-click the parent group layer and select Paste.
    The Paste option in the Contents pane.
    1. Right-click the old sublayer and click Remove to delete the layer. The new sublayer can be labeled and label classes can be created.

    Export the sublayer to a local folder in ArcGIS Pro

    1. Open the web map in ArcGIS Pro.
    2. Export the sublayer.
      1. In the Contents pane, right-click the sublayer. Click Data > Export Features.
      2. In the Export Features pane, on the Parameters tab, ensure the sublayer is selected for Input Features.
      3. Specify a name for Output Feature Class and click Browse The Browse icon to select a file location for the feature layer.
      4. Click OK.
    The configured Export Features parameters.
    1. Enable labeling and create a label class for the exported feature layer.
      1. In the Contents pane, click List By Labeling The List By Labeling option. The label class is created for the exported feature layer.
      2. In the Contents pane, ensure the exported feature layer is selected. On the ribbon, click the Labeling tab.
      3. On the Labeling tab, in the Layer group, click Label.
      4. In the Label Class group, for Field, click the drop-down arrow and select the field to be labeled on the map.
    The Label option and the configured Label Class field.
    1. Create a new label class and configure the label class as required. Refer to ArcGIS Pro: Use label classes for further instructions.

    The map below shows the labels for the sublayers and the Label Class pane allowing the configuration of the label class in ArcGIS Pro.

    Map displaying the labels and Label Class pane.

    Article ID: 000032569

    Software:
    • ArcGIS Online
    • ArcGIS Pro 3 1
    • ArcGIS Pro 3 3
    • ArcGIS Pro 3 2

    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
    Esri Support AI Chatbot