| Número de ID do Erro |
BUG-000180019 |
| Enviado | October 7, 2025 |
| Última Modificação | December 16, 2025 |
| Aplica-se à | ArcGIS Pro SDK for .NET |
| Versão encontrada | 3.5 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 11.0 64 bit |
| Status | As Designed
Após revisão pela equipe de desenvolvimento, foi determinado que esse comportamento é conforme projetado. Consulte a seção Informações Adicionais para obter detalhes.
|
Informações Adicionais
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);
Solução Provisória
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.
Etapas para Reproduzir