laptop and a wrench

Bug

Uri.LocalPath returns an unexpected value if the Databases connection node in the Catalog pane is not expanded at least once when opening an existing project.

Last Published: January 6, 2023 ArcGIS Pro SDK for .NET
Bug ID Number BUG-000154164
SubmittedDecember 2, 2022
Last ModifiedSeptember 19, 2024
Applies toArcGIS Pro SDK for .NET
Version found3.0
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

Feature layers do not store the path of the SDE connection file used to create them. Only the connection information itself (server, instance, etc.) is stored. When a datastore is opened in ArcGIS Pro for the first time in a session, that path is stored in Datastore.GetPath. If it is the first time opening a datastore from the catalog, the path of the catalog item's SDE file is stored in this value. If it is the first time opening a datastore from a feature layer, a temporary SDE file is created in the temp directory, and this path is stored with the datastore.

Steps to Reproduce

Bug ID: BUG-000154164

Software:

  • ArcGIS Pro SDK for .NET

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