Hi there,
In my application, I want to create the following functionality:
I have two comboboxes, and I want to fill the first with all the layers from a service. After the user selects the layer the second has to show all the fields for that layer. Finally, after the user selects the the field I want to know the type of that field in order to show the appropriate type of input to perform a query.
I already can fill the comboboxes, but I'm struggling in getting the field type. I'm using always ArcGISDynamicMapServiceLayer. Can I do it with FeatureLayers?
Any good ideas in how to better accomplish this will be much appreciated.