<?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: Is it possible to show coded values in 4.x Popups? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278989#M25747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a popupTemplate, then the string values should be displaying. Are you passing a map service url to a FeatureLayer, and then passing the PopupTemplate as the popupTemplate property? I have provided a screenshot of the code for an application that is displaying the string values in the popups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413310_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are a couple of the coded values from the map service, along with a screenshot of the popups in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/413311_pastedImage_2.png" /&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/413366_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 00:28:17 GMT</pubDate>
    <dc:creator>JoseBanuelos</dc:creator>
    <dc:date>2018-07-06T00:28:17Z</dc:date>
    <item>
      <title>Is it possible to show coded values in 4.x Popups?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278988#M25746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created an app, using a popupTemplate from the ArcGIS API for JavaScript 4.7. Fields that use coded values are shown as 1, 2, 3 etc. in the popup. I would like to show the string values of course. Can anyone help me how to show the correct content?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 08:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278988#M25746</guid>
      <dc:creator>DennisPayk</dc:creator>
      <dc:date>2018-07-03T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to show coded values in 4.x Popups?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278989#M25747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using a popupTemplate, then the string values should be displaying. Are you passing a map service url to a FeatureLayer, and then passing the PopupTemplate as the popupTemplate property? I have provided a screenshot of the code for an application that is displaying the string values in the popups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413310_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are a couple of the coded values from the map service, along with a screenshot of the popups in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/413311_pastedImage_2.png" /&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/413366_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 00:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278989#M25747</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2018-07-06T00:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to show coded values in 4.x Popups?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278990#M25748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;thanks a lot for the quick answer. As you described, it works when using the MapServer as FeatureLayer. Thanks for that hint.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/413347_codedvalues1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried was, adding the layer as sublayer of a MapImageLayer. In that case, the numbers only are displayed, see the following screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/413396_codedvalues2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details of the layer can be seen here:&amp;nbsp;&lt;A class="link-titled" href="https://services.conterra.de/arcgis/rest/services/mapapps/stoerung/MapServer/0" title="https://services.conterra.de/arcgis/rest/services/mapapps/stoerung/MapServer/0"&gt;Layer: Störungen (ID: 0)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or may it be considered as a new feature request for the 4.x api?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 09:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278990#M25748</guid>
      <dc:creator>DennisPayk</dc:creator>
      <dc:date>2018-07-06T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to show coded values in 4.x Popups?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278991#M25749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have been able to reproduces your issue in 4.7 and 4.8 so it is a bug that needs to be reported to tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278991#M25749</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-07-06T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to show coded values in 4.x Popups?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278992#M25750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coded values in MapImageLayer Sublayers are not displayed correctly in popups in ArcGIS API for JavaScript 4.8. This was reported to tech support and registered as&amp;nbsp;BUG-000115337.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 11:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-show-coded-values-in-4-x-popups/m-p/278992#M25750</guid>
      <dc:creator>DennisPayk</dc:creator>
      <dc:date>2018-08-14T11:44:35Z</dc:date>
    </item>
  </channel>
</rss>

