laptop and a wrench

漏洞

When a feature class with overlapped points is published to ArcGIS Online, all the labels are shown when printing the map, even though the duplicate labels are removed from the Labeling Properties option in ArcGIS Pro.

ArcGIS Online
漏洞 ID 编号 BUG-000175987
已提交April 22, 2025
上次修改时间July 23, 2025
适用范围ArcGIS Online
找到的版本Feb 2025
操作系统Windows OS
操作系统版本11.0 64 bit
状态In Review

解决办法

First workaround: Use a printing service from ArcGIS Enterprise 11.3 or below. Go to ArcGIS Online > Organization > Settings > Utility Services and replace the Esri default printing service.

Second workaround: 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, please add the following expression:

 

if ($feature.NewID == 1) {

   return $feature.ID;

} else {

   return "";

}

 

 

Please note in red that 'NewID' is the name that I assigned to my new field in step 1. Please update the name according to the name you assigned in this step. 

 

Please note in red that 'ID' is the name of the field that stores the values you want to label. Please update the name according to the name of your field. 

 

Attached is a set of two GIFs I made in order to demonstrate this workaround

重现步骤

漏洞 ID: BUG-000175987

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项