laptop and a wrench

Bogue

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
Numéro d’ID de bogue BUG-000176023
EnvoiApril 23, 2025
Dernière modificationJuly 24, 2025
S’applique àPortal for ArcGIS
Version trouvée11.4
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutUnder Consideration

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000176023

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement