<?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: Geocoding Service Not returning Candidates to &amp;quot;Application&amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699606#M65167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Alright everyone I just spent an hour on the phone with Tech Support and they're just as stumped as I am. I'm all v10.&lt;BR /&gt;&lt;BR /&gt;I have a Composite Locator wired up in my app. The "Parameters" are being submitted correctly and the "onAddressToLocationsComplete" fires off successfully, but no "candidates are being returned to the "app."&lt;BR /&gt;&lt;BR /&gt;I can run the geocoding service from the services directory and it returns candidates just fine.&lt;BR /&gt;&lt;BR /&gt;I've put my service in the ESRI sample and same thing, no candidates to the "app." I've done everything forwards and backwards with the ESRI sample and my app, still no dice...&lt;BR /&gt;&lt;BR /&gt;I can't get the candidates to "return" to the app, they're their...they'll return to the rest service in the services directory, but not to the app. No errors either.&lt;BR /&gt;???????????????????????????????????????&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometime is just the format of your location in locator.addressToLocations(location); Looking at your services directory's Address Fields. It listed the properties of location you have to specify. instead of using json expression, i found it is more safe to use javascript Object to specify location. Like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location = new Object();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.Address =string;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.City =string;&amp;nbsp;&amp;nbsp; (Address, City... fields are different depend upon your loaction)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try this and let me know if it works nor not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Feb 2011 17:10:42 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2011-02-14T17:10:42Z</dc:date>
    <item>
      <title>Geocoding Service Not returning Candidates to &amp;quot;Application&amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699604#M65165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright everyone I just spent an hour on the phone with Tech Support and they're just as stumped as I am. I'm all v10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Composite Locator wired up in my app. The "Parameters" are being submitted correctly and the "onAddressToLocationsComplete" fires off successfully, but no "candidates are being returned to the "app."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can run the geocoding service from the services directory and it returns candidates just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've put my service in the ESRI sample and same thing, no candidates to the "app." I've done everything forwards and backwards with the ESRI sample and my app, still no dice...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't get the candidates to "return" to the app, they're their...they'll return to the rest service in the services directory, but not to the app. No errors either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;???????????????????????????????????????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 22:59:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699604#M65165</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2011-02-11T22:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Service Not returning Candidates to "Application" - Update</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699605#M65166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is an update to my original issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the 9.3 locator styles and created a 9.3. version locator and it worked, i.e. returned candidates to the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there is most likely a bug with the v10 locator services when returning results to at least the Javascript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any ideas why, please shout out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 09:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699605#M65166</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2011-02-14T09:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Service Not returning Candidates to "Application"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699606#M65167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Alright everyone I just spent an hour on the phone with Tech Support and they're just as stumped as I am. I'm all v10.&lt;BR /&gt;&lt;BR /&gt;I have a Composite Locator wired up in my app. The "Parameters" are being submitted correctly and the "onAddressToLocationsComplete" fires off successfully, but no "candidates are being returned to the "app."&lt;BR /&gt;&lt;BR /&gt;I can run the geocoding service from the services directory and it returns candidates just fine.&lt;BR /&gt;&lt;BR /&gt;I've put my service in the ESRI sample and same thing, no candidates to the "app." I've done everything forwards and backwards with the ESRI sample and my app, still no dice...&lt;BR /&gt;&lt;BR /&gt;I can't get the candidates to "return" to the app, they're their...they'll return to the rest service in the services directory, but not to the app. No errors either.&lt;BR /&gt;???????????????????????????????????????&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometime is just the format of your location in locator.addressToLocations(location); Looking at your services directory's Address Fields. It listed the properties of location you have to specify. instead of using json expression, i found it is more safe to use javascript Object to specify location. Like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location = new Object();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.Address =string;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.City =string;&amp;nbsp;&amp;nbsp; (Address, City... fields are different depend upon your loaction)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try this and let me know if it works nor not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 17:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699606#M65167</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-02-14T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Service Not returning Candidates to "Application"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699607#M65168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heming,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OMG! You're freaking awesome. Not for only responding, but for responding with something that works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're gonna be at the Dev Summit next month find me, I own a drink. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 22:16:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699607#M65168</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2011-02-14T22:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Service Not returning Candidates to "Application"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699608#M65169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Heming,&lt;BR /&gt;&lt;BR /&gt;OMG! You're freaking awesome. Not for only responding, but for responding with something that works!&lt;BR /&gt;&lt;BR /&gt;If you're gonna be at the Dev Summit next month find me, I own a drink. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Very glad it helps. I learned this trick from learning AJax and started realized that javascript is just as powerful as those OO language like C# or Java (encapsulation, inheritence, polymorphism).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 11:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-service-not-returning-candidates-to-amp/m-p/699608#M65169</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-02-15T11:52:50Z</dc:date>
    </item>
  </channel>
</rss>

