Select to view content in your preferred language

EditorWidget and FeatureDataForm

665
1
07-19-2010 11:26 AM
JamesMolohon
Emerging Contributor
I'm looking for a way to hide or disable certain attributes in the FeatureDataForm.  When I add a point with the EditorWidget, I'd like to set some values and not allow the end user to modify them. For example, I'll record the user name and timestamp when the point is created.  Removing attributes from the collection in the EditCompleted event hides those from the form, but doesn't let me populate the database.  And if I use the 'Display Properties' tool later, I could still edit them.

James
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
At the moment, the DataForm lists all fields specified in the Outfields property of your featurelayer. You could opt for not requesting this data.

Alternatively, all the dataform really is, is a set of textboxes that binds to the attribute of a selected graphic, so it wouldn't take much to create a custom form.
0 Kudos