<?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: API Composite geocode service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-composite-geocode-service/m-p/1059997#M73220</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/429194"&gt;@ColinGowens&lt;/a&gt;,&amp;nbsp;the API should work fine with a composite geocoder. Here is an example app:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/noash/pen/qBrRrPa?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/qBrRrPa?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My hunch is that the issue is related to the composite geocoder itself. I found this thread with some tips about publishing a composite geocoder from Pro that might be useful:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/composite-address-locator/m-p/732528" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/composite-address-locator/m-p/732528&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to share the URL to the geocoder you are using (if it's public), I can test with it as well.&lt;/P&gt;</description>
    <pubDate>Thu, 20 May 2021 15:48:00 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2021-05-20T15:48:00Z</dc:date>
    <item>
      <title>API Composite geocode service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-composite-geocode-service/m-p/1059878#M73209</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a search widget that will gecode to our enterprise service with a standard us streets service, but it fails to return a result when using a composite service built from points and lines.&amp;nbsp; In the us streets version, I set this variable singleLineFieldName: "Single Line Input", and it works to return a point.&amp;nbsp; For the composite it is set up with&amp;nbsp;singleLineFieldName: "SingleLine", and this fails to return a result.&amp;nbsp; The service does work outside of the api page.&amp;nbsp; Can the api work with a composite service?&lt;/P&gt;&lt;P&gt;here is the code that fails&lt;/P&gt;&lt;P&gt;includeDefaultSources: false,&lt;BR /&gt;sources: [&lt;BR /&gt;{&lt;BR /&gt;name: "Composite Address",&lt;BR /&gt;placeholder: "example: address",&lt;BR /&gt;&lt;BR /&gt;singleLineFieldName: "SingleLine",&lt;BR /&gt;locator: new Locator({&lt;BR /&gt;url: "&lt;A href="https://url.com/CompositeGeocode/GeocodeServer" target="_blank"&gt;https://url.com/CompositeGeocode/GeocodeServer&lt;/A&gt;"&lt;BR /&gt;})&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 12:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-composite-geocode-service/m-p/1059878#M73209</guid>
      <dc:creator>ColinGowens</dc:creator>
      <dc:date>2021-05-20T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: API Composite geocode service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-composite-geocode-service/m-p/1059997#M73220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/429194"&gt;@ColinGowens&lt;/a&gt;,&amp;nbsp;the API should work fine with a composite geocoder. Here is an example app:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/noash/pen/qBrRrPa?editors=1000" target="_blank"&gt;https://codepen.io/noash/pen/qBrRrPa?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My hunch is that the issue is related to the composite geocoder itself. I found this thread with some tips about publishing a composite geocoder from Pro that might be useful:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/composite-address-locator/m-p/732528" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/composite-address-locator/m-p/732528&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to share the URL to the geocoder you are using (if it's public), I can test with it as well.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/api-composite-geocode-service/m-p/1059997#M73220</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-05-20T15:48:00Z</dc:date>
    </item>
  </channel>
</rss>

