<?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: Search widget by Suburb/neighborhood  only (API 4x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131499#M75833</link>
    <description>&lt;P&gt;Thanks for the detailed and clear explanation&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;. Appreciated. I will try to find some way of achieving what I need and provide updates here if I do succeed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 06:33:10 GMT</pubDate>
    <dc:creator>ZA1</dc:creator>
    <dc:date>2022-01-07T06:33:10Z</dc:date>
    <item>
      <title>Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130719#M75785</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I would like to create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html" target="_self"&gt;search widge&lt;/A&gt;t which only searches by &lt;STRONG&gt;suburb/ neighborhood&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thus, only suburb names are provided as suggestions in the search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that this might require some configuration in &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#sources" target="_self"&gt;sources&lt;/A&gt;. However, I cannot find the solution.&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 08:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130719#M75785</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-05T08:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130835#M75791</link>
      <description>&lt;P&gt;You would need to publish a Locator service specific for what you need.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 15:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130835#M75791</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-01-05T15:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130848#M75792</link>
      <description>&lt;P&gt;Rene is correct. Also, here are a couple of samples that might provide inspiration:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-customsource/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-customsource/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 16:26:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1130848#M75792</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-05T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131099#M75802</link>
      <description>&lt;P&gt;Hi thanks for the responses &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;@&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By this do you mean a Geocode Server that only contains suburbs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The geocode server that I use contains all address information, including suburb (neighborhood)&lt;/P&gt;&lt;P&gt;I just need to find some way of querying only Suburb data:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZA1_0-1641451475958.png" style="width: 782px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/30897i246C2A3E0FA45FD9/image-dimensions/782x165?v=v2" width="782" height="165" role="button" title="ZA1_0-1641451475958.png" alt="ZA1_0-1641451475958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 06:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131099#M75802</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-06T06:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131345#M75824</link>
      <description>&lt;P class=""&gt;Yes, Neighborhood is there in the Address Fields, but that is for multiline input, and that doesn't mean you can search on them from the Search widget.&amp;nbsp;There are 2 input types for geocoding: multiline and singleline. The Search widget only uses singleline, and suggestions only work with singleline anyway.&lt;/P&gt;&lt;P class=""&gt;For this to work with the Search widget, you would need to publish or configure a custom locator service. I would suggest that you use the Create Locator tool in ArcGIS Pro with the “Neighborhood” role.&amp;nbsp;Here is more information on that process:&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/introduction-to-custom-locators.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geocoding/introduction-to-custom-locators.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;You could also use the locator class and build your own UI, instead of using the Search widget. Here is a tutorial that walks you through the basics:&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/find-places/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/find-places/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Unfortunately, I think these are your available options. There might be a clever way to overwrite the getResults() and getSuggestions() methods, but I don't know for sure if this would work.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html#getResults" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LocatorSearchSource.html#getResults&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 19:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131345#M75824</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-06T19:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget by Suburb/neighborhood  only (API 4x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131499#M75833</link>
      <description>&lt;P&gt;Thanks for the detailed and clear explanation&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;. Appreciated. I will try to find some way of achieving what I need and provide updates here if I do succeed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 06:33:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-by-suburb-neighborhood-only-api-4x/m-p/1131499#M75833</guid>
      <dc:creator>ZA1</dc:creator>
      <dc:date>2022-01-07T06:33:10Z</dc:date>
    </item>
  </channel>
</rss>

