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-Nummer BUG-000176023
EingereichtApril 23, 2025
Zuletzt geändertJuly 24, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version11.4
BetriebssystemWindows OS
Betriebssystemversion11.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.

Schritte zur Reproduzierung

Bug-ID: BUG-000176023

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln