laptop and a wrench

Erro

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
Número de ID do Erro BUG-000176023
EnviadoApril 23, 2025
Última ModificaçãoJuly 24, 2025
Aplica-se àPortal for ArcGIS
Versão encontrada11.4
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusUnder Consideration

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: BUG-000176023

Software:

  • Portal for ArcGIS

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download