<?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 Execute function after search result click in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81475#M7448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was after a little help on something I've been stuck on and was wondering if someone could give me a little guidance?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I want to be able to run a specific JS function after the user clicks on a result from the search widget list of results, the use case would be: a user clicks in the search widget and enters some text, the suggested results popup up below the widget and as soon as a user clicks on a result this calls a function that I have written (hopefully with an id that relates back to the clicked search result).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 07:57:15 GMT</pubDate>
    <dc:creator>chrisweaves</dc:creator>
    <dc:date>2017-03-27T07:57:15Z</dc:date>
    <item>
      <title>Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81475#M7448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was after a little help on something I've been stuck on and was wondering if someone could give me a little guidance?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I want to be able to run a specific JS function after the user clicks on a result from the search widget list of results, the use case would be: a user clicks in the search widget and enters some text, the suggested results popup up below the widget and as soon as a user clicks on a result this calls a function that I have written (hopefully with an id that relates back to the clicked search result).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 07:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81475#M7448</guid>
      <dc:creator>chrisweaves</dc:creator>
      <dc:date>2017-03-27T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81476#M7449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the "select-result" event to run your own function:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result" title="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result"&gt;Search | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 08:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81476#M7449</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2017-03-27T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81477#M7450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, sorry, I forgot to mention I'm using API 4.3 and from what I can see your solution is for API 3.x.&amp;nbsp; I will look for an API 4.3 equivalent, thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81477#M7450</guid>
      <dc:creator>chrisweaves</dc:creator>
      <dc:date>2017-03-27T11:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81478#M7451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4.3 equivalent url is this one:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event:select-result" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event:select-result"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#event:select-result&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 12:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81478#M7451</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-27T12:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81479#M7452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the correct answer for 3.x, I can only mark one as correct and that was the answer below as I'm working with JS API 4,3 I would mark them both correct if it was possible.&amp;nbsp; Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 13:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81479#M7452</guid>
      <dc:creator>chrisweaves</dc:creator>
      <dc:date>2017-03-27T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function after search result click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81480#M7453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 13:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/execute-function-after-search-result-click/m-p/81480#M7453</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2017-03-27T13:21:31Z</dc:date>
    </item>
  </channel>
</rss>

