<?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 4.10 API using indetifyTask in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464669#M42959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a basic web map, consuming data from my ArcServer instance. After many hours of troubleshooting, I&amp;nbsp;figured out what my issue is but I do not know how to fix it. Hoping someone can shed some light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the latest 4.10 api. Using the sample&amp;nbsp;code at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-identify" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-identify"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;as my base; changing the relevant&amp;nbsp;elements to point to my server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally figured out the indetifyTask was actually running, but returning an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e {name: "request:server", message: "Unexpected token F in JSON at position 663", details: {…}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a result. At position 663 seems to be malformed results. The below is what is being returned. 663 is the F in "FACILITY_JOIN".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"GLOBALID":"{59871D5E-66A0-4E28-A403-395C68536163}","Shape":"Polygon",","FACILITY_JOIN":"VU-MAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preceding this is ",","FAC. I suspect the unmatched ", is really the issue. My question is, how can I fix? Is it an issue with the service? An issue with the params I'm passing? I just know know. Hoping someone can point me in the correct direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2019 17:37:03 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-02-27T17:37:03Z</dc:date>
    <item>
      <title>4.10 API using indetifyTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464669#M42959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a basic web map, consuming data from my ArcServer instance. After many hours of troubleshooting, I&amp;nbsp;figured out what my issue is but I do not know how to fix it. Hoping someone can shed some light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the latest 4.10 api. Using the sample&amp;nbsp;code at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-identify" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=tasks-identify"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;as my base; changing the relevant&amp;nbsp;elements to point to my server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally figured out the indetifyTask was actually running, but returning an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e {name: "request:server", message: "Unexpected token F in JSON at position 663", details: {…}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting a result. At position 663 seems to be malformed results. The below is what is being returned. 663 is the F in "FACILITY_JOIN".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"GLOBALID":"{59871D5E-66A0-4E28-A403-395C68536163}","Shape":"Polygon",","FACILITY_JOIN":"VU-MAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Preceding this is ",","FAC. I suspect the unmatched ", is really the issue. My question is, how can I fix? Is it an issue with the service? An issue with the params I'm passing? I just know know. Hoping someone can point me in the correct direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 17:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464669#M42959</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-27T17:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: 4.10 API using indetifyTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464670#M42960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any public service to share or create a public map service with test data and send to us to test at our end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Biraja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 01:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464670#M42960</guid>
      <dc:creator>BirajaNayak</dc:creator>
      <dc:date>2019-02-28T01:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: 4.10 API using indetifyTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464671#M42961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My test maps is at&amp;nbsp;&lt;A class="link-titled" href="https://cpc-fis.vanderbilt.edu/map/MapTest.html" title="https://cpc-fis.vanderbilt.edu/map/MapTest.html"&gt;Vanderbilt Campus Map - 2D&lt;/A&gt;. It's hitting the server&amp;nbsp;&lt;A class="link-titled" href="https://maps.cpc-fis.vanderbilt.edu/arcgis/rest/services/LGIM/MapServer/3" title="https://maps.cpc-fis.vanderbilt.edu/arcgis/rest/services/LGIM/MapServer/3"&gt;Layer: Buildings (ID: 3)&lt;/A&gt;&amp;nbsp;. With Chrome's console open, click a building that is on campus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 12:40:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464671#M42961</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-02-28T12:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: 4.10 API using indetifyTask</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464672#M42962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened a ticket with ESRI. The support representative had me add&amp;nbsp; params.returnFieldName = true; to the parameters. This solved the quoting issues but the tech couldn't/wouldn't explain why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 19:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-10-api-using-indetifytask/m-p/464672#M42962</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-03-04T19:34:54Z</dc:date>
    </item>
  </channel>
</rss>

