How Search Widget can work with Client Side Layer?

01-21-2020 02:42 PM
New Contributor III

Hi Friends,

I have a client side layer (NOT coming from ArcGIS Server / AGOL) and I added it to the Search widget but the searching process for that layer info does not work... 


Creating Feature Layer on the client side (NOT coming from ArcGIS Server or AGOL)

* Adding the Layer to the map

* Adding the Layer to Search Widget Source

* Populating the Layer from external API data

I am using ArcGIS JS API 3.x

Is anyone know how can I integrate a Client Side Layer to the Search Widget?



Tags (1)
0 Kudos
2 Replies
MVP Esteemed Contributor


   To my knowledge that is not possible out of the box.  The search dijit states, when using a featurelayer.

a 10.3 or later feature layer that supports pagination, i.e. supportsPagination = true.

That is not something a clientside featurelayer has the capability of.

Esri Regular Contributor

Robert is correct, the Search dijit requires either a geocode service or a hosted feature layer.


So I do not believe that it can work with a client-side feature layer.

0 Kudos