laptop and a wrench

Erro

FeatureClass.GetDefinition method fails with error "The dataset 'featureClassName' does not have a valid definition." when called on Feature class with a join

Última Publicação: January 26, 2021 ArcGIS Pro SDK for .NET
Número de ID do Erro BUG-000136933
EnviadoJanuary 22, 2021
Última ModificaçãoSeptember 19, 2024
Aplica-se àArcGIS Pro SDK for .NET
Versão encontrada2.7
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusKnown Limit

Informações Adicionais

As stated in the API reference (https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic7015.html), FeatureClass.GetDefinition() throws an exception when called on a joined feature class, because there is no underlying datastore for these temporary datasets. FeatureClass.IsJoinedTable can be used to determine if a feature class belongs to a Join, and FeatureClass.GetJoin can be used to fetch the join. Join.GetDestinationTable and Join.GetOriginTable can be used to get the destination and origin tables. These tables be joins. When IsJoinedTable for a table returns false call GetDefinition.

Etapas para Reproduzir

ID do Erro: BUG-000136933

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