laptop and a wrench

Error

The shapefile data source path does not contain the *.shp extension for imported map documents.

Última publicación: August 15, 2017 ArcGIS Pro
Número de ID del error BUG-000105847
EnviadoJune 15, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada1.4.1
Sistema operativoWindows OS
Versión de sistema operativo7.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

There is a minor user interface (UI) issue to be addressed separately. When the .mxd is converted, the file name's extension in the dialog box is not seen, whereas it can be seen when a new map layer is created from a shapefile dataset in ArcGIS Pro. However, this difference only exists in the string when viewing in the Properties dialog box. Behind the scenes in the data connection that is used by the map layer to access the data source, the data connection for both map layers is exactly the same regardless of what string is shown in the dialog box. As such, this has no effect on the SDK and the ability to change or access the layer's data source. Here is a code snippet from the ArcGIS Pro SDK that shows how to access the name of the feature class that is the data source of a feature layer: var flyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType().FirstOrDefault(); QueuedTask.Run(() => { var fcName = flyr.GetFeatureClass().GetName(); });

Pasos para reproducir

ID del error: BUG-000105847

Software:

  • ArcGIS Pro

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