<?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: Does queryFeature parse the JSON response correctly? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578072#M53987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i definitely think the JavaScript API expects the values of the system managed ObjectID field to be unique, because our software ensures that the field is present and can act as a primary key for publishing both data in flat files and SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i wish i had more insight or advice into what to do in your situation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2013 14:49:13 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2013-03-15T14:49:13Z</dc:date>
    <item>
      <title>Does queryFeature parse the JSON response correctly?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578071#M53986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am experiencing a strange behavior of the queryFeature method of a Feature Layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The parsing of the JSON, that is returned valid and correct by the server, creates cloned features that were not present in the original JSON object. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From a first analysis the problem is limited to the features having the same objectid field, that in my case is not the primary key of the layer. I can understand if this is the reason, but several other layers having the same duplicated objectid do not present the same problem and are parsed correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is better explained in the attached pdf.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope somebody can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simone&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 14:42:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578071#M53986</guid>
      <dc:creator>SimoneGadenz</dc:creator>
      <dc:date>2013-03-15T14:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Does queryFeature parse the JSON response correctly?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578072#M53987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i definitely think the JavaScript API expects the values of the system managed ObjectID field to be unique, because our software ensures that the field is present and can act as a primary key for publishing both data in flat files and SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i wish i had more insight or advice into what to do in your situation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 14:49:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578072#M53987</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-03-15T14:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Does queryFeature parse the JSON response correctly?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578073#M53988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for prompt reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought the same but another feature layer I use the same way does not have this behavior. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the way to change the field defined as objectid? Should I act directly on the sde layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Simone&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 16:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-queryfeature-parse-the-json-response/m-p/578073#M53988</guid>
      <dc:creator>SimoneGadenz</dc:creator>
      <dc:date>2013-03-15T16:04:31Z</dc:date>
    </item>
  </channel>
</rss>

