<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JS 4.x display search results in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650958#M60688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just display them and let users select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 15:59:50 GMT</pubDate>
    <dc:creator>City_of_Greenville__SCGIS</dc:creator>
    <dc:date>2018-10-03T15:59:50Z</dc:date>
    <item>
      <title>JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650956#M60686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a simple way to display the search results,&amp;nbsp;&lt;A class="link-titled" href="https://gis.greenvillesc.gov/fallforgreenville/indexfull.html" title="https://gis.greenvillesc.gov/fallforgreenville/indexfull.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Fall For Greenville&lt;SPAN style="color: #001000;"&gt;.&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I have to turn off the autoSelect and use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event:search-complete" rel="nofollow noopener noreferrer" target="_blank"&gt;search-complete event &lt;/A&gt;but I don't really understand what this means.&amp;nbsp; I can use the below to log it in the console but how do I do anything with it the search-complete?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;searchWidget&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;on&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"search-complete"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;event&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="comment token"&gt;// The results are stored in the event Object[]&lt;/SPAN&gt;
&amp;nbsp; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Results of the search: "&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; event&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:36:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650956#M60686</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2021-12-12T03:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650957#M60687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What is it that you want to do with the search results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650957#M60687</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-03T15:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650958#M60688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just display them and let users select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650958#M60688</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-10-03T15:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650959#M60689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a user types in a search term and you have autoSelect set to true then they are not presented with the results list it just automatically goes to the first result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650959#M60689</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-03T16:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650960#M60690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to set it to false and be presented with the list, similar to what it does for suggestions. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could potentially use the default template which has "Show More Results" but the results are limited.&amp;nbsp; In the case below, the more results are limited to five but in reality there are more than 40 results that would apply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/423628_capture5.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650960#M60690</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-10-03T16:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650961#M60691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Then you will have to loop through the results from the search-complete event handler and use something like dojo domConstruct to build html elements to display to the end user and attach events to those elements for zooming etc. Sorry no easy solution to this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 16:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650961#M60691</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-03T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650962#M60692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that seems way out of my depth and not worth the input.&amp;nbsp; Seems crazy to me that results table would be that hard but then again I don't know what I don't know so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to expand the "more results" from the default popup?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650962#M60692</guid>
      <dc:creator>City_of_Greenville__SCGIS</dc:creator>
      <dc:date>2018-10-03T17:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: JS 4.x display search results</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650963#M60693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set&amp;nbsp;featureNavigationEnabled on the views popup.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#featureNavigationEnabled" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#featureNavigationEnabled"&gt;Popup | API Reference | ArcGIS API for JavaScript 4.9&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 17:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-x-display-search-results/m-p/650963#M60693</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-03T17:16:46Z</dc:date>
    </item>
  </channel>
</rss>

