laptop and a wrench

漏洞

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
漏洞 ID 编号 BUG-000176023
已提交April 23, 2025
上次修改时间July 24, 2025
适用范围Portal for ArcGIS
找到的版本11.4
操作系统Windows OS
操作系统版本11.0 64 bit
状态Under Consideration

解决办法

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.

重现步骤

漏洞 ID: BUG-000176023

软件:

  • Portal for ArcGIS

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项