Select to view content in your preferred language

FeatureDataForm event to detect attribute value changed ??

945
2
12-13-2011 10:36 PM
JudyTroutwine
Regular Contributor
I would like to assign some default attribute values based on user assignment of a value to one particular attribute.  I would especially like to detect when a domain value is selected for the attribute.   Ideas?
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
If you want to associate default values or sub types to a specific attribute, you can look at the following documentation to see modify the service.
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Associating_default_values_and_domains...
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_subtypes/005r00000003000000/

If solution is only on client-side, you can subscribe to Graphic.AttributeValueChanged event. You can also subscribe to FeatureDataForm.EditEnded to know when changes to attributes are applied.
0 Kudos
JudyTroutwine
Regular Contributor
I have some code working well in the Graphic.AttributeValueChanged event procedure when the add feature custom FeatureDataForm launches.  Thanks for the tip.
0 Kudos