漏洞 ID 编号 |
BUG-000161963 |
已提交 | October 9, 2023 |
上次修改时间 | August 18, 2025 |
适用范围 | ArcGIS Field Maps |
找到的版本 | 23.2.3 |
操作系统 | Windows OS |
操作系统版本 | 11.0 64 bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
ArcGIS Field Maps Designer checks the feature layer's capabilities to see if it is sync enabled (capabilities must contain 'sync'). When sync is enabled by the steps in the Python script (update definition with syncEnabled true), the layer's capabilities are not updated. If the script is updated to match what ArcGIS Online does when enabling sync (update definition adding 'sync' to capabilities), then sync is enabled correctly and sync is added to the layer's capabilities, which works as expected in ArcGIS Field Maps Designer.
解决办法
Change the Python script to enable sync with the same update definition call that is used when ArcGIS Online enables sync for the item's setting page. 'Sync' must be added to the 'capabilities' and update the definition call.
重现步骤