<?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: Comprehensive Locator documentation (JavaScript API) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137823#M7960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"I am using the Report Streetlight Problem JavaScript app and want to search for a location based on address, intersection, or point of interest. I can get it to do the first two or the last but not all three."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing special that you need to do to return an address vs an intersection vs a POI.&amp;nbsp; Can you explain in some more detail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 22:40:44 GMT</pubDate>
    <dc:creator>BradNiemand</dc:creator>
    <dc:date>2014-05-02T22:40:44Z</dc:date>
    <item>
      <title>Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137822#M7959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the Report Streetlight Problem JavaScript app and want to search for a location based on address, intersection, or point of interest. I can get it to do the first two or the last but not all three. I've looked at Locator under the Javascript API (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jsapi/locator-amd.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/javascript/jsapi/locator-amd.html&lt;/A&gt;&lt;SPAN&gt;) and the REST API Help for Single Input Geocoding (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Single_input_field_geocoding/02r300000015000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Single_input_field_geocoding/02r300000015000000/&lt;/A&gt;&lt;SPAN&gt;) but neither fully documents some of the properties. Below are the Locator properties from the config.js file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Locators: [{&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; DisplayText: "Address",&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; DefaultValue: "400 Silver Avenue SW, Albuquerque, NM 87102",&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; LocatorParamaters: ["SingleLine"],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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; LocatorURL: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer" rel="nofollow" target="_blank"&gt;http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&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; CandidateFields: "Loc_name, Score, Match_addr", //orig&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; DisplayField: "${Match_addr}",&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; ZoomLevel: 7,&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; AddressMatchScore: 80,&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; LocatorDefaultRequest: "1",&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; LocatorFieldName: 'Loc_name',&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; LocatorFieldValues: ["USA.StreetName", "USA.PointAddress", "USA.StreetAddress"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm pretty sure I need to modify CandidateFields and LocatorFieldValues and possibly LocatorFieldName but I can't find any documentation for them. Can anybody provide some so I know what the possible property values are?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron Allen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Albuquerque, NM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 21:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137822#M7959</guid>
      <dc:creator>AaronAllen</dc:creator>
      <dc:date>2014-04-29T21:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137823#M7960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"I am using the Report Streetlight Problem JavaScript app and want to search for a location based on address, intersection, or point of interest. I can get it to do the first two or the last but not all three."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing special that you need to do to return an address vs an intersection vs a POI.&amp;nbsp; Can you explain in some more detail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 22:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137823#M7960</guid>
      <dc:creator>BradNiemand</dc:creator>
      <dc:date>2014-05-02T22:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137824#M7961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The POI search does not work out of the box for the Report Streetlight Problem app. For instance, I get "No results found" if I type "Starbucks in Albuquerque, NM" (without quotes) in the Search Address text box. That's true for the slightly modified app we are hosting as well as ESRI's sample app (&lt;/SPAN&gt;&lt;A href="http://tryitlive.arcgis.com/reportastreetlightproblem/"&gt;http://tryitlive.arcgis.com/reportastreetlightproblem/&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The core Locator code does support a POI search by default. For example, I get results using the ESRI's Locator live sample (&lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/javascript/samples/locator_details/"&gt;http://developers.arcgis.com/javascript/samples/locator_details/&lt;/A&gt;&lt;SPAN&gt;) with "Starbucks in Albuquerque, NM".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference tells me there is something in the application code that is limiting what the Locator is searching for and why I asked for further documentation about the parameters in the code I pasted. Could you do so? I would greatly appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 14:30:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137824#M7961</guid>
      <dc:creator>AaronAllen</dc:creator>
      <dc:date>2014-05-05T14:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137825#M7962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think your best bet is to post this on the JavaScript forum here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript"&gt;http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 17:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137825#M7962</guid>
      <dc:creator>BradNiemand</dc:creator>
      <dc:date>2014-05-06T17:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137826#M7963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted my query to the JavaScript forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't mean to be rude but as an ESRI employee don't you have access to the information or know someone in your organization who would be able to answer my question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 19:14:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137826#M7963</guid>
      <dc:creator>AaronAllen</dc:creator>
      <dc:date>2014-05-08T19:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comprehensive Locator documentation (JavaScript API)</title>
      <link>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137827#M7964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answer here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/109374-Comprehensive-Locator-documentation" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/109374-Comprehensive-Locator-documentation&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 13:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/comprehensive-locator-documentation-javascript-api/m-p/137827#M7964</guid>
      <dc:creator>AaronAllen</dc:creator>
      <dc:date>2014-05-12T13:57:11Z</dc:date>
    </item>
  </channel>
</rss>

