Swapping source layers on the hosted feature layer view breaks viewer access.
ArcGIS Online
漏洞 ID 编号
BUG-000168316
已提交
June 13, 2024
上次修改时间
June 12, 2025
适用范围
ArcGIS Online
找到的版本
N/A
操作系统
N/A
操作系统版本
N/A
状态
In Review
该问题正在审查中。 审查过程可确保问题包含所有必要信息、易于理解、不与现有问题重复,且为关于漏洞或增强功能的有效请求。 在此阶段,可能会联系您进行说明或提供其他信息。
解决办法
Use the REST API to access the hosted feature layer view 'deletefromDefinition' and 'addToDefinition' endpoints to drop and re-add layers, setting the correct layer ID.
Use the Python API to alter the content item's data JSON to reflect the current layer ID. This does not correct dependent maps or apps that already use the old layer ID.
Swap the source layer using the workflow outlined here: https://doc.arcgis.com/en/arcgis-online/manage-data/swap-view-source.htm.