laptop and a wrench

Error

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
Número de ID del error BUG-000172893
EnviadoDecember 6, 2024
Última modificaciónDecember 23, 2024
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada3.4
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

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.

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000172893

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga