<?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: Use CodedValueDomain value in LayerSearchSource.suggestionTemplate in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-codedvaluedomain-value-in-layersearchsource/m-p/1215929#M78819</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/74137"&gt;@EthanBodin1&lt;/a&gt;&amp;nbsp;were you able to find a way to get the display value for a field with coded value domains?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2022 04:42:46 GMT</pubDate>
    <dc:creator>KevinEscalera1</dc:creator>
    <dc:date>2022-09-26T04:42:46Z</dc:date>
    <item>
      <title>Use CodedValueDomain value in LayerSearchSource.suggestionTemplate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-codedvaluedomain-value-in-layersearchsource/m-p/1095995#M74580</link>
      <description>&lt;P&gt;I am using the Search widget and would like to provide suggestions using a template with a couple of field values. One of the fields may have a coded value domain, and I would like to display the&amp;nbsp;&lt;EM&gt;name&lt;/EM&gt; of the CodedValue instead of the&amp;nbsp;&lt;EM&gt;code&lt;/EM&gt;, which is what shows up if I just enter the field name in the template.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;new LayerSearchSource({

   suggestionTemplate: "&amp;lt;b&amp;gt;Field 1: {stringField}&amp;lt;b&amp;gt;&amp;lt;br/&amp;gt;Field 2: {codedValueField}"

   ...

}
&lt;/LI-CODE&gt;&lt;P&gt;Is there some way to replace "codedValueField" and get the coded value description for the field?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-codedvaluedomain-value-in-layersearchsource/m-p/1095995#M74580</guid>
      <dc:creator>EthanBodin1</dc:creator>
      <dc:date>2021-09-07T16:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use CodedValueDomain value in LayerSearchSource.suggestionTemplate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-codedvaluedomain-value-in-layersearchsource/m-p/1215929#M78819</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/74137"&gt;@EthanBodin1&lt;/a&gt;&amp;nbsp;were you able to find a way to get the display value for a field with coded value domains?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 04:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-codedvaluedomain-value-in-layersearchsource/m-p/1215929#M78819</guid>
      <dc:creator>KevinEscalera1</dc:creator>
      <dc:date>2022-09-26T04:42:46Z</dc:date>
    </item>
  </channel>
</rss>

