<?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: Pass value of address variable into the search widget on a mapview ... have search auto execute? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99448#M9107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all very much ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;view.when(()=&amp;gt;{&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchWidget.search();&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;});&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;The above bit of code did the trick!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2018 12:14:12 GMT</pubDate>
    <dc:creator>JohnRichardson</dc:creator>
    <dc:date>2018-09-13T12:14:12Z</dc:date>
    <item>
      <title>Pass value of address variable into the search widget on a mapview ... have search auto execute?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99444#M9103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brand new to Javascript and the ArcGIS API .... so please forgive me if this is a simple question ... but how can I pass a value of an address variable into the search widget of a mapview and have the search execute automatically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 15:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99444#M9103</guid>
      <dc:creator>JohnRichardson</dc:creator>
      <dc:date>2018-09-12T15:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pass value of address variable into the search widget on a mapview ... have search auto execute?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99445#M9104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Just call the Search widgets search method:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#search" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#search"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#search&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99445#M9104</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-12T19:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pass value of address variable into the search widget on a mapview ... have search auto execute?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99446#M9105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;searchWidget = new Search({ //add the search widget to the map view&lt;BR /&gt; view:view&lt;BR /&gt; });&lt;BR /&gt; view.ui.add(searchWidget, "bottom-right");&lt;BR /&gt; addy = searchWidget.searchTerm = "1024 E 8th";&lt;BR /&gt; searchWidget(addy);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code will not execute the search for me ... it populates the search field in the widget, just does not run the search and zoom to result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99446#M9105</guid>
      <dc:creator>JohnRichardson</dc:creator>
      <dc:date>2018-09-12T19:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pass value of address variable into the search widget on a mapview ... have search auto execute?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99447#M9106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Robert points out via the provided link, you should call the 'search' method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;searchWidget = new Search({&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;view:view,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; searchTerm: "&lt;SPAN&gt;1024 E 8th&lt;/SPAN&gt;"&lt;BR /&gt;&amp;nbsp;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;view.ui.add(searchWidget, "bottom-right");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;view.when(()=&amp;gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchWidget.search();&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99447#M9106</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2018-09-12T20:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pass value of address variable into the search widget on a mapview ... have search auto execute?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99448#M9107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all very much ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;view.when(()=&amp;gt;{&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;searchWidget.search();&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;});&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;The above bit of code did the trick!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 12:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pass-value-of-address-variable-into-the-search/m-p/99448#M9107</guid>
      <dc:creator>JohnRichardson</dc:creator>
      <dc:date>2018-09-13T12:14:12Z</dc:date>
    </item>
  </channel>
</rss>

