laptop and a wrench

Bug

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

Zuletzt veröffentlicht: January 26, 2021 ArcGIS Pro SDK for .NET
Bug-ID-Nummer BUG-000136933
EingereichtJanuary 22, 2021
Zuletzt geändertSeptember 19, 2024
Gilt fürArcGIS Pro SDK for .NET
Gefunden in Version2.7
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusKnown Limit

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000136933

Software:

  • ArcGIS Pro SDK for .NET

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln