<?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 feature.getContent() method returning codes instead of name for features from related table in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-getcontent-method-returning-codes-instead/m-p/329143#M30454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;feature.getContent() method returning 'codes' for the fields with Coded domain values instead of 'name' for features from related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample in which when you select any feature on map it will show its related records details in side panel.&lt;/P&gt;&lt;P&gt;If you observe in the side panel value for the field "&lt;SPAN style="color: #888888; font-family: 'Open Sans'; font-size: medium;"&gt;SHORT_TEXT_DOMAIN&lt;/SPAN&gt;" is "NO" which is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as in the case of feature layer it is working fine, it seems to be an problem only with related records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is observed that if we update the _layer property of the feature(related records) with new instance of feature layer object ( new featurelayer created from related table URL) then we can see the expected behavior. to see the expected behavior please uncomment the line no. 114 and 115.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2015 10:48:35 GMT</pubDate>
    <dc:creator>sumitzarkar</dc:creator>
    <dc:date>2015-12-31T10:48:35Z</dc:date>
    <item>
      <title>feature.getContent() method returning codes instead of name for features from related table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-getcontent-method-returning-codes-instead/m-p/329143#M30454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;feature.getContent() method returning 'codes' for the fields with Coded domain values instead of 'name' for features from related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample in which when you select any feature on map it will show its related records details in side panel.&lt;/P&gt;&lt;P&gt;If you observe in the side panel value for the field "&lt;SPAN style="color: #888888; font-family: 'Open Sans'; font-size: medium;"&gt;SHORT_TEXT_DOMAIN&lt;/SPAN&gt;" is "NO" which is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as in the case of feature layer it is working fine, it seems to be an problem only with related records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is observed that if we update the _layer property of the feature(related records) with new instance of feature layer object ( new featurelayer created from related table URL) then we can see the expected behavior. to see the expected behavior please uncomment the line no. 114 and 115.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 10:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-getcontent-method-returning-codes-instead/m-p/329143#M30454</guid>
      <dc:creator>sumitzarkar</dc:creator>
      <dc:date>2015-12-31T10:48:35Z</dc:date>
    </item>
  </channel>
</rss>

