Select to view content in your preferred language

Smart Editor – Lock Fields on Existing Features, Allow Edits on New Features?

151
2
Jump to solution
3 weeks ago
SGarvis
New Contributor

Hi everyone,

I'm working with the Smart Editor widget in Web AppBuilder and was wondering if anyone knows of a way to configure certain fields so that they are:

Locked (read-only) when editing existing features, but editable when creating new features.

Both the existing and new features are part of the same feature class. Is this possible through configuration in the widget settings or does it require a customization (e.g., using custom code or attribute rules)?

Appreciate any insights or workarounds others may have found!


Thanks in advance,
S. Garvis

0 Kudos
1 Solution

Accepted Solutions
AlixVezina
Esri Regular Contributor

Hi @SGarvis , it is not possible to restrict fields to editable or read-only based on edit context (inert/add or update) in Web AppBuilder.

But this is supported using Forms and using the Edit widget in Experience Builder. Check out: Configure forms for attribute editing (Map Viewer)—ArcGIS Online Help | Documentation

View solution in original post

2 Replies
AlixVezina
Esri Regular Contributor

Hi @SGarvis , it is not possible to restrict fields to editable or read-only based on edit context (inert/add or update) in Web AppBuilder.

But this is supported using Forms and using the Edit widget in Experience Builder. Check out: Configure forms for attribute editing (Map Viewer)—ArcGIS Online Help | Documentation

SGarvis
New Contributor

Thank you, Alix!

0 Kudos