Select to view content in your preferred language

search

493
1
04-17-2013 06:21 AM
lifeEsri
Occasional Contributor
salut tout le monde

svp je voudrais créer une recherche comme suite :

1) recherche attributaire:
dropdoawnlist 1==> contient la liste de mes couches
dropdoawnlist 2==> contient la liste des fields sur laquelle je vais effectuer ma recherche


1) recherche spatiale:

et merci d'avance
Tags (2)
0 Kudos
1 Reply
YannCabon
Esri Contributor
Hi,

I would suggest that you loop through the layers of your map,
for each one of them loop thought the layer's info:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer...

if the layer is a FeatureLayer check the layerDetails property:
http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/FeatureLayer.html#layerDetai...
to find the fields to display in the 2nd dropdown.

PS: I would suggest to write in English to let more people understand what you want and be able to reply to you. 🙂
0 Kudos