laptop and a wrench

Bug

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
Bug ID Number BUG-000156727
SubmittedMarch 17, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found2.6
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

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

Steps to Reproduce

Bug ID: BUG-000156727

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options