操作方法
尝试在 Map Viewer 中创建新要素或者更新要素编辑内容失败并返回以下错误消息:
Error: Something went wrong
Edits could not be saved: Error


在 Map Viewer 的创建要素窗格中,创建要素时从文本字段的属性中排除“<Null>”。 有关详细信息,请参阅 ArcGIS Online:编辑要素 (Map Viewer)。
Note: To apply this workaround, ensure the 'Keep track of changes to the data (add, update, delete features)', 'Keep track of who edited the data (editor name, date and time)' or 'Enable Sync (required for offline use and collaboration)' options are not checked under the Feature layer (hosted) section on the ArcGIS Online Settings tab.



if ($feature.<field name> == "<Null>"){
Return None
}
else {
Return $feature.<field name>
}

以下属性表显示 <Null> 已替换为 null 值(空格)。

文章 ID: 000031758
获取来自 ArcGIS 专家的帮助
立即开始聊天