Select to view content in your preferred language

How to get all fields from featurelayer or featureTable?

3055
1
11-03-2014 05:07 PM
Mrffli
by
Deactivated User

How to get all fields from featurelayer or featureTable in ArcGIS Runtime SDK for .NET 10.2.4?

0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor

You can set to "*" the OutFields property of your underlying ServiceFeatureTable

Example:

<esri:FeatureLayer ID="MyFeatureLayer">

    <esri:FeatureLayer.FeatureTable>

        <esri:ServiceFeatureTable ServiceUri="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Wildfire/FeatureServer/2"

        OutFields="*" />

    </esri:FeatureLayer.FeatureTable>

</esri:FeatureLayer>

0 Kudos