The ArcPy updateConnectionProperties() function fails to update properties of enterprise geodatabase layers as expected when using an .sde file path for the new_connection_info parameter in ArcGIS Pro.
ArcGIS Pro
漏洞 ID 编号
BUG-000156727
已提交
March 17, 2023
上次修改时间
June 5, 2024
适用范围
ArcGIS Pro
找到的版本
2.6
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The "dataset" dictionary key/value pair is at the wrong sub-dictionary level. Moreover, this workflow can be accomplished with two enterprise geodatabase connection files with less complexity.
A way to accomplish this, if more find grained control of enterprise geodatabase connection properties is needed, use the CIM module. All of these techniques are described here:
https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/updatingandfixingdatasources.htm