laptop and a wrench

Erro

Unable to add a field using the DDLAddField2FeatureClass add-in on a feature class in an enterprise geodatabase in ArcGIS Pro SDK.

ArcGIS Pro SDK for .NET
Número de ID do Erro BUG-000180019
EnviadoOctober 7, 2025
Última ModificaçãoDecember 16, 2025
Aplica-se àArcGIS Pro SDK for .NET
Versão encontrada3.5
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusAs Designed

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

ID do Erro: BUG-000180019

Software:

  • ArcGIS Pro SDK for .NET

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download