<?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 reverse search point by feature key in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/reverse-search-point-by-feature-key/m-p/356939#M1720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would really appreciate your thoughts and assistance on the below scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the search widget to pick up two places, point A and point B. The search wizard returns the &lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;feature &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="" data-expandable="false"&gt;&lt;DIV class="" data-expandable="false"&gt;&lt;SPAN class=""&gt;key&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"dHA9MCNsb2M9Mjg4OTY1NTcjbG5nPTUwI3BsPTE5OTMyODM5I2xicz0xNDoyMDgyNzM2Mg==" and&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"Mália, Malia", along with longitude and latitude values. I then make a request to an in-house PHP script that calls the "solve" method to retrieve the distance between the two points. The script makes a few calculations and outputs various route information. At the moment, the php script has 4 URL parameters : longitudeA, latitudeA, longitudeB, latitudeB. I would also like to output the name of point A and point B but i do not wish to use URL parameters as users will be able to change the content on demand. Is there anyway to retrieve the point by the provided key ? In this case i would add two more parameters keyA and keyB to the url.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I found the FindTask example &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-find" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-find"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt; and changed the searchFields to searchFields: ["key"] or searchFields: ["feature.key"] but it does not return any result for the returned keys.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Looking forward to your replies.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you very much&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Kind Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2019 18:01:48 GMT</pubDate>
    <dc:creator>LeonPapas</dc:creator>
    <dc:date>2019-09-20T18:01:48Z</dc:date>
    <item>
      <title>reverse search point by feature key</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/reverse-search-point-by-feature-key/m-p/356939#M1720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would really appreciate your thoughts and assistance on the below scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the search widget to pick up two places, point A and point B. The search wizard returns the &lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;feature &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="" data-expandable="false"&gt;&lt;DIV class="" data-expandable="false"&gt;&lt;SPAN class=""&gt;key&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;"dHA9MCNsb2M9Mjg4OTY1NTcjbG5nPTUwI3BsPTE5OTMyODM5I2xicz0xNDoyMDgyNzM2Mg==" and&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;: &lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;"Mália, Malia", along with longitude and latitude values. I then make a request to an in-house PHP script that calls the "solve" method to retrieve the distance between the two points. The script makes a few calculations and outputs various route information. At the moment, the php script has 4 URL parameters : longitudeA, latitudeA, longitudeB, latitudeB. I would also like to output the name of point A and point B but i do not wish to use URL parameters as users will be able to change the content on demand. Is there anyway to retrieve the point by the provided key ? In this case i would add two more parameters keyA and keyB to the url.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I found the FindTask example &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-find" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-find"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt; and changed the searchFields to searchFields: ["key"] or searchFields: ["feature.key"] but it does not return any result for the returned keys.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Looking forward to your replies.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you very much&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Kind Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 18:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/reverse-search-point-by-feature-key/m-p/356939#M1720</guid>
      <dc:creator>LeonPapas</dc:creator>
      <dc:date>2019-09-20T18:01:48Z</dc:date>
    </item>
  </channel>
</rss>

