laptop and a wrench

Bug

The QueryRelatedFeaturesAsync() method is not returning the expected results for related features while using a mobile geodatabase in ArcGIS Maps SDK for .NET.

Last Published: April 14, 2023 ArcGIS Runtime SDK
Bug ID Number BUG-000154204
SubmittedDecember 5, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.14
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

The behavior seen is as designed. Related records are only returned when both origin and destination layers are associated and added to the map. See the API Ref's remarks for the 'QueryRelatedFeaturesAsync' section: https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.ArcGISFeatureTable.QueryRelatedFeaturesAsync.html#Esri_ArcGISRuntime_Data_ArcGISFeatureTable_QueryRelatedFeaturesAsync_Esri_ArcGISRuntime_Data_ArcGISFeature_ and the Guide topic: https://developers.arcgis.com/net/query-and-edit/relate-features/#additional-information To enable related records to be returned, add all associated layers and tables to the same map. For instance, if states are related to cities, then both states and cities layers must be added to the same map.

Steps to Reproduce

Bug ID: BUG-000154204

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options