laptop and a wrench

Bogue

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

Dernière publication: August 15, 2017 ArcGIS Pro
Numéro d’ID de bogue BUG-000105847
EnvoiJune 15, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée1.4.1
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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(); });

Étapes pour reproduire

ID de bogue: BUG-000105847

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement