AnsweredAssumed Answered

issue with SearchWidget

Question asked by gisfinder on Jun 1, 2016
Latest reply on Jun 3, 2016 by gisfinder

When I use esri/dijit/Search on my Feature layer it returns nothing.

I use the same code as  the link only replace the layer url and fields for search:

        Search with customization | ArcGIS API for JavaScript

I tried another layer on arcgis online  and its "name" field , the search returns nothing.

        The layer url is :

               http://services1.arcgis.com/EYwUC8SxXDiz08ND/arcgis/rest/services/China%20income%20per%20person/FeatureServer/0

Outcomes