<?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 Suggestions in the Locator Service in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840484#M2528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to implement a&amp;nbsp;ServiceLocator using QML (AppStudio). It works great in a general sense as you can see below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ServiceLocator working with a local service" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/227028_Capture.PNG" style="width: 620px; height: 438px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I miss the suggestion property I used to have when I worked with the javascript API. I was having a look at the QML API but I am not able to see any word about suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rafael Fernandez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 14:07:54 GMT</pubDate>
    <dc:creator>RafaelFernandez1</dc:creator>
    <dc:date>2016-09-13T14:07:54Z</dc:date>
    <item>
      <title>Suggestions in the Locator Service</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840484#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to implement a&amp;nbsp;ServiceLocator using QML (AppStudio). It works great in a general sense as you can see below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ServiceLocator working with a local service" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/227028_Capture.PNG" style="width: 620px; height: 438px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I miss the suggestion property I used to have when I worked with the javascript API. I was having a look at the QML API but I am not able to see any word about suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rafael Fernandez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 14:07:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840484#M2528</guid>
      <dc:creator>RafaelFernandez1</dc:creator>
      <dc:date>2016-09-13T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Suggestions in the Locator Service</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840485#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is being implemented in the&amp;nbsp;next major release "Quartz"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/qt/quartz/qml/api-reference/qml-esri-arcgisruntime-suggestlistmodel.html" title="https://developers.arcgis.com/qt/quartz/qml/api-reference/qml-esri-arcgisruntime-suggestlistmodel.html" rel="nofollow noopener noreferrer" target="_blank"&gt;SuggestListModel QML Type | ArcGISQtQML Quartz&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until then, the only option you have is to make a NetworkRequest to get the suggestions from the World geocoding service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;serverURL&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgeocode.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FGeocodeServer%2Fsuggest%3Ff%3Djson%26text%3D3%26maxSuggestions%3D6" target="_blank"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?f=json&amp;amp;text=3&amp;amp;maxSuggestions=6&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;NetworkRequest&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;id&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;networkRequest&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;url&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;serverURL&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;responseType&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"json"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;onReadyStateChanged&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;readyState&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;===&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;NetworkRequest&lt;/SPAN&gt;.DONE&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;jsonText&lt;/SPAN&gt;.text&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0055af;"&gt;JSON&lt;/SPAN&gt;.stringify(&lt;SPAN style="color: #000000;"&gt;response&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;undefined,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;2);&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;jsonText&lt;/SPAN&gt;.text&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;readyState&lt;/SPAN&gt;;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;}

I haven't tried yet but you can make a new request onTextChanged signal &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840485#M2529</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2021-12-12T16:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Suggestions in the Locator Service</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840486#M2530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a sample which demonstrates the custom implementation of &amp;nbsp;world geocoding suggestions request as I talked before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nakul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/suggestions-in-the-locator-service/m-p/840486#M2530</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2016-09-13T17:35:28Z</dc:date>
    </item>
  </channel>
</rss>

