Layer query

219
1
03-07-2023 01:17 PM
Niels
by
New Contributor

Hey all, 

When using https://geo.arnhem.nl/arcgis/rest/services/OpenData/Bomenkaart/MapServer/0/query to query a layer there is an Out Fields option. When using that I can receive 'BEHEERCODE'. 

But in the .NET SDK there is no parameter available 

https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Dat...

How can I fetch all attributes from the layer with QueryFeaturesAsync() when I can't use Out Fields?

0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor

There's an overload for the Query operation on the ServiceFeatureTable subclass that allows you to specify the outfields: https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Dat...

0 Kudos