Hi everybody,
We are using ArcGIS Runtime 100.1 and we want to retrieve records from a related table in a FeatureService.
We are able to perform QueryRelatedFeaturesAsync and get the number of features by using NumberOfFeatures but we cannot find any method/property to retrieve the data itself.
Here is the code we are using:
// Select the features based on query parameters defined above
var selectedFeatures = await idLayer.SelectFeaturesAsync(queryParams, Esri.ArcGISRuntime.Mapping.SelectionMode.New);
var feature = selectedFeatures.First() as ArcGISFeature;
var relatedResult = await table.QueryRelatedFeaturesAsync(feature);
var relatedTbl = relatedResult[0].RelatedTable;
var num = relatedTbl.NumberOfFeatures;
What next??
Thanks a lot,
Miri