laptop and a wrench

Bug

Publishing a feature class with overlapping points to ArcGIS Enterprise displays all labels when printing the map, even if duplicate labels are removed in the labeling properties of ArcGIS Pro.

Portal for ArcGIS
Bug ID Number BUG-000176023
SubmittedApril 23, 2025
Last ModifiedJuly 24, 2025
Applies toPortal for ArcGIS
Version found11.4
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusUnder Consideration

Workaround

Use a printing service from ArcGIS Enterprise 11.3 or below.

Go to ArcGIS Enterprise 11.4 > Organization > Settings > Utility Services, and replace the printing service.

Create a new ID field and an Arcade expression for the labeling properties as shown below:

  1. Add a new field in ArcGIS Pro (long type).
  2. To assign values to this new field, please follow the steps below:

is equal to:

assign(!ID!)

 

Code Block:

labeled_group = {}

def assign(value):

global labeled_group

if value not in labeled_group:

labeled_group[value] = True

return 1

else:

return 0

 

3. From the labeling properties, for the Arcade expression, add the following expression:

 

if ($feature.NewID == 1) {

   return $feature.ID;

} else {

   return "";

}

 

Note in red that NewID refers to the field name assigned in Step 1. Update the name based on the field name assigned in this step.

 

Note in red that ID is the field name that stores the values for labeling. Update the name to match the actual field name.

 

Attached are two GIFs that demonstrate this workaround.

Steps to Reproduce

Bug ID: BUG-000176023

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options