laptop and a wrench

Bug

The data source selection drop-down added in ArcGIS Pro 3.4 is not recognized by ArcGIS Pro SDK for .NET

ArcGIS Pro SDK for .NET
Bug ID Number BUG-000172893
SubmittedDecember 6, 2024
Last ModifiedDecember 23, 2024
Applies toArcGIS Pro SDK for .NET
Version found3.4
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The "List by Data Sources" TOC view _must be active_ otherwise the returned data source member from GetSelectedDataSourceMember() will always be _null_ Note the "Remarks" at: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic27774.html in the Pro SDK API reference for .GetSelectedDataSourceMember(). "Only one DataSourceMember can be selected at one time. A DataSourceMember will only be selected when the TOC is in the "List By Data Sources" view mode." In other words, the moment the TOC view context changes from List By Data Sources to something else (eg List by Drawing Order, List by Selection, etc.) then the selected "DataSourceMember" becomes null.

Workaround

Make the List by Data Sources view in the Contents pane active.

Steps to Reproduce

Bug ID: BUG-000172893

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