| Bug-ID-Nummer |
BUG-000180019 |
| Eingereicht | October 7, 2025 |
| Zuletzt geändert | December 16, 2025 |
| Gilt für | ArcGIS Pro SDK for .NET |
| Gefunden in Version | 3.5 |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 11.0 64 bit |
| Status | As Designed
Nach Überprüfung durch das Entwicklungsteam wurde festgestellt, dass dieses Verhalten wie geplant ist. Weitere Informationen finden Sie im Abschnitt "Zusätzliche Informationen".
|
Zusätzliche Informationen
This behavior is as designed.
var fcName = selectedLayerTable.GetName();, returns fully qualified name (database_name.schema_name.table_name)
FeatureClassDescription does not allow dot (.) or other special characters in a feature class name. Strip database_name.schema_name from the feature class name before reusing it, as shown in the sample snippet below for enterprise geodatabases.
var fcDescription = new FeatureClassDescription(fcName.Split('.').Last(), fieldDescriptions, originalFeatureClassDescription.ShapeDescription);
Workaround
As a temporary workaround, manually add the required fields using the Add Field geoprocessing tool in ArcGIS Pro. Refer to https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-field.htm for more information.
Schritte zur Reproduzierung