laptop and a wrench

漏洞

When using Update Layer Definition on a hosted feature layer view with a definition query (filter), the following error is returned, "Invalid definition for 'DefinitionQuery'. Invalid definition for System.String."

上次发布: April 23, 2022 ArcGIS Online
漏洞 ID 编号 BUG-000146872
已提交February 15, 2022
上次修改时间October 2, 2024
适用范围ArcGIS Online
找到的版本9.4
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

This is not a bug. When using updateDefinition, select the intended properties to modify, not the full service/layer JSON. Selecting the full service/layer JSON fails as it attempts to modify system level properties on the service that cannot be modified.

解决办法

  1. Remove the filter on the view.
  2. Update the layer definition and make the desired changes.
  3. Reapply the filter. Alternatively, users can keep the filter active, and instead remove it from the layer definition during updating. 

重现步骤

漏洞 ID: BUG-000146872

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项