<?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: Customizing Search Result Renderer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315576#M29007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's good feedback, we'll improve the doc to make this more obvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2020 16:27:54 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2020-06-16T16:27:54Z</dc:date>
    <item>
      <title>Customizing Search Result Renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315573#M29004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen in the API documentation a reference to SearchResultRenderer class.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchResultRenderer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchResultRenderer.html" rel="nofollow noopener noreferrer" target="_blank"&gt;SearchResultRenderer | ArcGIS API for JavaScript 4.15&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, I have seen examples where after a search, popup displays "more results".&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to display that "more results" menu separately from a popup.&amp;nbsp; Preferably as a list of results before the user pics one.&amp;nbsp; I have not seen an example where this is done - I'm wondering if anyone has an example I could look at - or if you know how I might leverage that class/something else to create a list in a new location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to do this:&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;
  &lt;SPAN class="comment token"&gt;// The results are stored in the event Object[]&lt;/SPAN&gt;
  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;I'm looking for a better way - I'm wondering if SearchResutRenderer might be it or something else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315573#M29004</guid>
      <dc:creator>LizEidsness</dc:creator>
      <dc:date>2021-12-11T15:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Search Result Renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315574#M29005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great question &lt;A href="https://community.esri.com/migrated-users/267071"&gt;Liz Eidsness&lt;/A&gt;‌. You can use the SearchResultRenderer class to do exactly this. The trick is to make sure the viewModel on the SRR is set to the same viewModel as from the Search widget. And you'd probably want to set the showMoreResultsOpen property to `true`. I made an example that (crudely) demonstrates the functionality. If you search for "Plymouth" and hit enter (do not select a suggestion) you'll see the more results in the lower right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SearchResultRenderer with `next`&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/NWxRbXq" title="https://codepen.io/noash/pen/NWxRbXq"&gt;https://codepen.io/noash/pen/NWxRbXq&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2020 18:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315574#M29005</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-06-15T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Search Result Renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315575#M29006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; I was having trouble figuring out how they fit together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 12:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315575#M29006</guid>
      <dc:creator>LizEidsness</dc:creator>
      <dc:date>2020-06-16T12:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing Search Result Renderer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315576#M29007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's good feedback, we'll improve the doc to make this more obvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 16:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-search-result-renderer/m-p/315576#M29007</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-06-16T16:27:54Z</dc:date>
    </item>
  </channel>
</rss>

