Update feature attributes in an online feature service.
Tap a feature to select it, then use the dropdown to update it.
To get a Feature from a ServiceFeatureTable
and update its attributes:
- Create a service feature table from a URL.
- When the table loads, you can get the domain to determine which options to present in your UI.
- Create a feature layer from the service feature table.
- Select features from the feature layer.
- To update the feature's attribute, first load it, then use the
ArcGISFeature.SetAttributeValue()
. - Update the table with
ServiceFeatureTable.UpdateFeatureAsync()
. - After a change, apply the changes on the server using
ServiceFeatureTable.ApplyEditsAsync()
.
- Map
- ArcGISFeature
- FeatureLayer
- MapView
- ServiceFeatureTable
Editing, attribute, value, domain, coded value, coded value domain