Select to view content in your preferred language

FeatureDataForm / SDE / FeatureService / Domains

804
3
01-13-2012 09:06 AM
JayKappy
Frequent Contributor
How does Silverlight API and the FeatureDataForm handle SDE domain lists...
I have an SDE feature class that has domains set up for a number of fields......these apear as drop downs in ArcMap when editing
do these carry over into the FeatureDataform in Silverlight
Do I have to speciify a combobox and point to the domain?  If possible any examples out there?  Iassume that I would have to chang the general FeatureDataForm to peice out the fields and maybe reference the Domains?
Can this be done...to populate the combobox from the domain set up in the SDE feature class?

Just brianstorming here....Thanks, any input would be helpful
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
FeatureDataForm use ComboBox for coded-value domain and feature types.

You can see this in the following SDK sample:
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataForm
Feature service defines "req_type" as Type ID Field and "status" has a domain associated to it.
0 Kudos
JayKappy
Frequent Contributor
So am I correct the say that if you have your feature class set up in SDE with a Domain associated with it, it will automatically appear in the FeatureDataform as a combobox with those options defined in the domain?

As I dont see anywhere in the code example that a combobox needs to be defined nor anywhere where a list is being created...

Is there something similar to this for the Android API ?
http://help.arcgis.com/en/webapi/silverlight/samples/start.htm

Thanks
0 Kudos
JenniferNery
Esri Regular Contributor
Yes that's correct. FeatureDataForm will generate a control base on the field type that your service defines. I think you need to create subtypes and attribute domains first http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000r0....
0 Kudos