AnsweredAssumed Answered

JS 4.x display search results

Question asked by CityOfGreenvilleSCGIS on Oct 3, 2018
Latest reply on Oct 3, 2018 by rscheitlin

I'm looking for a simple way to display the search results, Fall For Greenville.


I know I have to turn off the autoSelect and use the search-complete event but I don't really understand what this means.  I can use the below to log it in the console but how do I do anything with it the search-complete?


searchWidget.on("search-complete", function(event){
  // The results are stored in the event Object[]
  console.log("Results of the search: ", event);