<?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 disable Suggestions from Esri locator in Search widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/disable-suggestions-from-esri-locator-in-search/m-p/492808#M12952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is somewhat of an Idea for a long-term implementation in the Esri World Locator service and/or WebApp Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question for anyone on WebApp Builder team - can you create a config option or workaround to disable Suggestions for just the Esri &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm"&gt;World Locator Service&lt;/A&gt;&amp;nbsp;for the Search Widget?&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/44829"&gt;Jianxia Song&lt;/A&gt;‌&amp;nbsp; For example, it would be nice if beside each locator in Config, you have a checkbox that says 'Enable Suggestions'.&amp;nbsp; So they could be enabled for some locators and not others (like in my example, keep them on for my own locators but turn it off for World Locator)&amp;nbsp; I think for that it will require substantial WAB workaround or adding it to Locators as a URL Parameter in a future Enterprise/Server update to the REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/223344-esri-world-geocoder-service-disable-suggestions"&gt;https://community.esri.com/message/808489-esri-world-geocoder-service-disable-suggestions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/15957-locators-add-url-parameters-for-example-extent-suggest-others"&gt;https://community.esri.com/ideas/15957-locators-add-url-parameters-for-example-extent-suggest-others&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason - I do not want Esri results to pop up sometimes in Suggest list; it may be confusing such as for addresses, where if&amp;nbsp;Esri addresses&amp;nbsp;do not exactly coincide with results from our&amp;nbsp;own address locators. You can see why users would be confused.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do however want to retain Esri's locator if possible, so that people can search for businesses and POIs with it. I would&amp;nbsp;have stuck&amp;nbsp;a second Search widget with just the Esri locator on the Launchpad toolbar but I would want to hide it, and it it is not possible to squirrel it away in an Advanced group because it is not a panel widget.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to disable Suggestions for&amp;nbsp;&lt;STRONG&gt;all&amp;nbsp;&lt;/STRONG&gt;locators, by using the following workaround, since it is part of the dijit straight from the API (thank you Cheryl from TS for helpful suggestion) per below.&amp;nbsp; &amp;nbsp;However, I want to disable Suggestions only for the World Locator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding the line as below in Search in widget.js to the dijit object:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;enableSuggestions: false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.searchDijit = new Search({&lt;BR /&gt; activeSourceIndex: searchSouces.length === 1 ? 0 : 'all',&lt;BR /&gt; minCharacters: 4, /// kevin override speed up performance to stop it from requesting data until 4 characters entered&lt;BR /&gt; allPlaceholder: jimuUtils.stripHTML(esriLang.isDefined(this.config.allPlaceholder) ?&lt;BR /&gt; this.config.allPlaceholder : ""),&lt;BR /&gt; autoSelect: true,&lt;BR /&gt; &lt;STRONG&gt;enableSuggestions: false,&lt;/STRONG&gt; // kevin - disable on ALL geocoders &lt;BR /&gt; enableButtonMode: false,&lt;BR /&gt; enableLabel: false,&lt;BR /&gt; enableHighlight: true,&lt;BR /&gt; enableInfoWindow: true,&lt;BR /&gt; showInfoWindowOnSelect: true,&lt;BR /&gt; map: this.map,&lt;BR /&gt; sources: searchSouces,&lt;BR /&gt; theme: 'arcgisSearch'&lt;BR /&gt; });&lt;BR /&gt; html.place(this.searchDijit.domNode, this.searchNode);&lt;BR /&gt; this.searchDijit.startup();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Jul 2019 17:51:17 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-07-07T17:51:17Z</dc:date>
    <item>
      <title>disable Suggestions from Esri locator in Search widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/disable-suggestions-from-esri-locator-in-search/m-p/492808#M12952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is somewhat of an Idea for a long-term implementation in the Esri World Locator service and/or WebApp Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question for anyone on WebApp Builder team - can you create a config option or workaround to disable Suggestions for just the Esri &lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm"&gt;World Locator Service&lt;/A&gt;&amp;nbsp;for the Search Widget?&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/44829"&gt;Jianxia Song&lt;/A&gt;‌&amp;nbsp; For example, it would be nice if beside each locator in Config, you have a checkbox that says 'Enable Suggestions'.&amp;nbsp; So they could be enabled for some locators and not others (like in my example, keep them on for my own locators but turn it off for World Locator)&amp;nbsp; I think for that it will require substantial WAB workaround or adding it to Locators as a URL Parameter in a future Enterprise/Server update to the REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/thread/223344-esri-world-geocoder-service-disable-suggestions"&gt;https://community.esri.com/message/808489-esri-world-geocoder-service-disable-suggestions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/15957-locators-add-url-parameters-for-example-extent-suggest-others"&gt;https://community.esri.com/ideas/15957-locators-add-url-parameters-for-example-extent-suggest-others&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason - I do not want Esri results to pop up sometimes in Suggest list; it may be confusing such as for addresses, where if&amp;nbsp;Esri addresses&amp;nbsp;do not exactly coincide with results from our&amp;nbsp;own address locators. You can see why users would be confused.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do however want to retain Esri's locator if possible, so that people can search for businesses and POIs with it. I would&amp;nbsp;have stuck&amp;nbsp;a second Search widget with just the Esri locator on the Launchpad toolbar but I would want to hide it, and it it is not possible to squirrel it away in an Advanced group because it is not a panel widget.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to disable Suggestions for&amp;nbsp;&lt;STRONG&gt;all&amp;nbsp;&lt;/STRONG&gt;locators, by using the following workaround, since it is part of the dijit straight from the API (thank you Cheryl from TS for helpful suggestion) per below.&amp;nbsp; &amp;nbsp;However, I want to disable Suggestions only for the World Locator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adding the line as below in Search in widget.js to the dijit object:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;enableSuggestions: false,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.searchDijit = new Search({&lt;BR /&gt; activeSourceIndex: searchSouces.length === 1 ? 0 : 'all',&lt;BR /&gt; minCharacters: 4, /// kevin override speed up performance to stop it from requesting data until 4 characters entered&lt;BR /&gt; allPlaceholder: jimuUtils.stripHTML(esriLang.isDefined(this.config.allPlaceholder) ?&lt;BR /&gt; this.config.allPlaceholder : ""),&lt;BR /&gt; autoSelect: true,&lt;BR /&gt; &lt;STRONG&gt;enableSuggestions: false,&lt;/STRONG&gt; // kevin - disable on ALL geocoders &lt;BR /&gt; enableButtonMode: false,&lt;BR /&gt; enableLabel: false,&lt;BR /&gt; enableHighlight: true,&lt;BR /&gt; enableInfoWindow: true,&lt;BR /&gt; showInfoWindowOnSelect: true,&lt;BR /&gt; map: this.map,&lt;BR /&gt; sources: searchSouces,&lt;BR /&gt; theme: 'arcgisSearch'&lt;BR /&gt; });&lt;BR /&gt; html.place(this.searchDijit.domNode, this.searchNode);&lt;BR /&gt; this.searchDijit.startup();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2019 17:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/disable-suggestions-from-esri-locator-in-search/m-p/492808#M12952</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-07T17:51:17Z</dc:date>
    </item>
  </channel>
</rss>

