Skip to content
GuidesToolkitAPI

FeatureFormView

FeatureFormView(__namedParameters): Element

Defined in: packages/expo-arcgis-toolkit/src/FeatureFormView.tsx:81

The ArcGIS Toolkit’s feature form: edits a feature’s attributes, attachments and related records with the form its layer defines (field types, domains, Arcade expressions, validation), with its own Save and Discard. Pass the ref of a feature from the view’s identify. A panel: lay it out anywhere, in a sheet or below the map.

<FeatureFormView
feature={feature}
onEditingEvent={async (event) => {
if (event.type !== 'savedEdits') return;
const layer = await feature.getLayer();
const database = await layer?.getServiceGeodatabase();
await (database ?? layer)?.applyEdits();
}}
onDismiss={() => setFeature(null)}
/>

FeatureFormViewProps

Element