<?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: Feature layer hover attribute domain descriptions in info window in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48393#M4258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/popuptemplate-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;PopupTemplate&lt;/A&gt;&lt;SPAN&gt; class for the infoTemplate, this will show the domain description. Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var popupTemplate = new PopupTemplate({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: "{NAME}",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description: "{District}" // field contains domain
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
var featLyr = new FeatureLayer(featureServiceURL, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: popupTemplate,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 21:52:14 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2021-12-10T21:52:14Z</dc:date>
    <item>
      <title>Feature layer hover attribute domain descriptions in info window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48391#M4256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to adapt &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_hover.htmlhttp://"&gt;this ArcGIS API for Javascript example&lt;/A&gt;&lt;SPAN&gt; to suit my needs. The problem I am running into is that for fields with attribute domains the code and not the description is displayed in the info window. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any advice for possible solutions (or at least a good explanation)? I am very new to Javascript and would very very much appreciate any help. &lt;/SPAN&gt;&lt;A href="http://www.tc.umn.edu/~fimpe001/UMPD_TEST/timeslider/"&gt;Here is a link to the test application&lt;/A&gt;&lt;SPAN&gt; I am working on. Here is a link to the relevant&lt;/SPAN&gt;&lt;A href="http://gis.uservices.umn.edu/arcgis/rest/services/UMPD/UMPD_CrimeIncidents_WebMap/MapServer/0"&gt; REST endpoint&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THANK YOU THANK YOU THANK YOU!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 04:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48391#M4256</guid>
      <dc:creator>TobiasFimpel</dc:creator>
      <dc:date>2013-07-06T04:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer hover attribute domain descriptions in info window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48392#M4257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello. Have you found a solution to your problem above? I have the same issue and can't find a solution! Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 06:08:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48392#M4257</guid>
      <dc:creator>ElenaBailey1</dc:creator>
      <dc:date>2013-12-18T06:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer hover attribute domain descriptions in info window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48393#M4258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Elena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/popuptemplate-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;PopupTemplate&lt;/A&gt;&lt;SPAN&gt; class for the infoTemplate, this will show the domain description. Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var popupTemplate = new PopupTemplate({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: "{NAME}",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description: "{District}" // field contains domain
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
var featLyr = new FeatureLayer(featureServiceURL, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: popupTemplate,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48393#M4258</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-10T21:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer hover attribute domain descriptions in info window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48394#M4259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; Is it possible to expose the human readable values in a table, rather than a pop-up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48394#M4259</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-01-24T13:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layer hover attribute domain descriptions in info window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48395#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marianne, you can always put the information in something like a dGrid. While these are not using Feature Layers, there are a few examples where the results of a QueryTask or IdentifyTask are put into a dGrid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://ogitest.oa.mo.gov/LEGIS/LegislativeAnalysis/index.html"&gt;&lt;BR /&gt;Missouri Legislative Analysis&lt;/A&gt;&lt;SPAN&gt; - try the "Search for Information by District"&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://maps.coastalscience.noaa.gov/biogeography/dataviewer/dataviewer.html?id=WA_MSP"&gt;Washington State Spatial Prioritization Data Viewer&lt;/A&gt;&lt;SPAN&gt; - turn on several layers and click on the features&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 14:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-hover-attribute-domain-descriptions/m-p/48395#M4260</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-01-24T14:10:23Z</dc:date>
    </item>
  </channel>
</rss>

