When updating the definition at a layer level (Update Layer Definition) of a view layer configured with a filter, it returns the error code: 400, "Unable to update feature service layer definition.", "Invalid definition for 'DefinitionQuery'.", " Invalid definition for System.String."
ArcGIS Online
漏洞 ID 编号
BUG-000155365
已提交
January 25, 2023
上次修改时间
June 5, 2024
适用范围
ArcGIS Online
找到的版本
November 2022
操作系统
Windows OS
操作系统版本
11.0 64 bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
When updating a layer definition from REST, it is recommended to only include the part of the definition that is being updated. Including the entire definition may cause the update definition to fail.
The "definitionQuery" cannot be updated by updating the layer definition. However, you can update the "viewDefinitionQuery" without including the rest of the layer definition including the "definitionQuery".