<?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 FindResult attribute alias mismatch (JavaScript API) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/findresult-attribute-alias-mismatch-javascript-api/m-p/189480#M17542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FindResult object, returned from a FindTask, includes a displayFieldName property which as the API describes, is the name of the layer's primary field.&amp;nbsp; The FindResult also includes the feature with it's attribute object.&amp;nbsp; However, the attribute object uses alias names not field names.&amp;nbsp; This means you can't use the displayFieldName property to get the value of the corresponding attribute if your features primary field is using an alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be a bug or an oversight, or have I just missed some trick that would solve the issue?&amp;nbsp; If not, it seems it would make sense to return the displayFieldAlias instead, which would be the displayFieldName if the attribute didn't have an alias..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to report bugs to ESRI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 23:15:44 GMT</pubDate>
    <dc:creator>SimonHodge</dc:creator>
    <dc:date>2014-12-11T23:15:44Z</dc:date>
    <item>
      <title>FindResult attribute alias mismatch (JavaScript API)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/findresult-attribute-alias-mismatch-javascript-api/m-p/189480#M17542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FindResult object, returned from a FindTask, includes a displayFieldName property which as the API describes, is the name of the layer's primary field.&amp;nbsp; The FindResult also includes the feature with it's attribute object.&amp;nbsp; However, the attribute object uses alias names not field names.&amp;nbsp; This means you can't use the displayFieldName property to get the value of the corresponding attribute if your features primary field is using an alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be a bug or an oversight, or have I just missed some trick that would solve the issue?&amp;nbsp; If not, it seems it would make sense to return the displayFieldAlias instead, which would be the displayFieldName if the attribute didn't have an alias..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to report bugs to ESRI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 23:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/findresult-attribute-alias-mismatch-javascript-api/m-p/189480#M17542</guid>
      <dc:creator>SimonHodge</dc:creator>
      <dc:date>2014-12-11T23:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: FindResult attribute alias mismatch (JavaScript API)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/findresult-attribute-alias-mismatch-javascript-api/m-p/189481#M17543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is also the case with Identify, also. I had a &lt;A _jive_internal="true" href="https://community.esri.com/thread/112371"&gt;question&lt;/A&gt; about getting results from an Identify (which returns the field aliases) versus Query (which returns the field names).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 15:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/findresult-attribute-alias-mismatch-javascript-api/m-p/189481#M17543</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-12-12T15:11:15Z</dc:date>
    </item>
  </channel>
</rss>

