<?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 DomainName( feature, fieldName, code, subtype? ) in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/domainname-feature-fieldname-code-subtype/m-p/1009480#M5712</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a label expression in ArcGIS Portal (10.8) on a layer and field with a subtype associated.&lt;/P&gt;&lt;P&gt;When I use&amp;nbsp;DomainName( feature, fieldName) it returns a blank despite there being a value in the field.&lt;/P&gt;&lt;P&gt;In the guidance for&amp;nbsp;DomainName() the help says that you can specify the subtype&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#domainname" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/data_functions/#domainname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My question is how do you do it?&lt;/P&gt;&lt;P&gt;I can return the value for a domain in other fields without a subtype, but not a domain with the subtype associated.&lt;/P&gt;&lt;P&gt;I may be going down the wrong route, but any help would be appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 22:01:27 GMT</pubDate>
    <dc:creator>IanGorley2</dc:creator>
    <dc:date>2020-12-14T22:01:27Z</dc:date>
    <item>
      <title>DomainName( feature, fieldName, code, subtype? )</title>
      <link>https://community.esri.com/t5/developers-questions/domainname-feature-fieldname-code-subtype/m-p/1009480#M5712</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a label expression in ArcGIS Portal (10.8) on a layer and field with a subtype associated.&lt;/P&gt;&lt;P&gt;When I use&amp;nbsp;DomainName( feature, fieldName) it returns a blank despite there being a value in the field.&lt;/P&gt;&lt;P&gt;In the guidance for&amp;nbsp;DomainName() the help says that you can specify the subtype&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#domainname" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/data_functions/#domainname&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My question is how do you do it?&lt;/P&gt;&lt;P&gt;I can return the value for a domain in other fields without a subtype, but not a domain with the subtype associated.&lt;/P&gt;&lt;P&gt;I may be going down the wrong route, but any help would be appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 22:01:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/domainname-feature-fieldname-code-subtype/m-p/1009480#M5712</guid>
      <dc:creator>IanGorley2</dc:creator>
      <dc:date>2020-12-14T22:01:27Z</dc:date>
    </item>
  </channel>
</rss>

