<?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 Arcade to label specific domain in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-to-label-specific-domain/m-p/259783#M11380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I use arcade to label features, but only those that the domain = "X"&lt;/P&gt;&lt;P&gt;My feature name is Systmevalve&lt;BR /&gt;My column name is VALVEUSE&lt;BR /&gt;The domain I want Labeled has the CODE ZBV in the domain.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;I think I need to take a course on Arcade &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;BR /&gt;katy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 18:51:31 GMT</pubDate>
    <dc:creator>KathleenWallis</dc:creator>
    <dc:date>2018-04-17T18:51:31Z</dc:date>
    <item>
      <title>Arcade to label specific domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-to-label-specific-domain/m-p/259783#M11380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I use arcade to label features, but only those that the domain = "X"&lt;/P&gt;&lt;P&gt;My feature name is Systmevalve&lt;BR /&gt;My column name is VALVEUSE&lt;BR /&gt;The domain I want Labeled has the CODE ZBV in the domain.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;I think I need to take a course on Arcade &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;BR /&gt;katy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-to-label-specific-domain/m-p/259783#M11380</guid>
      <dc:creator>KathleenWallis</dc:creator>
      <dc:date>2018-04-17T18:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade to label specific domain</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-to-label-specific-domain/m-p/259784#M11381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Katy,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I set up a similar layer to test this out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="172" src="https://community.esri.com/legacyfs/online/415316_pastedImage_1.png" width="775" /&gt;&lt;/P&gt;&lt;P&gt;In my webmap, you can use either of these expressions to only label those X/ZBV features. One just looks at the code value, and the other looks at the description value. In the IIF() expression, if the expression evaluates to false, I have the label set as '', which is an empty string so you don't see a label. If the expression evaluates to true, I have 'X' as the label value, but you can put anything there, like DomainName($feature,'valveuse') if you want the description or $feature.valveuse if you want the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIF(DomainName($feature, 'valveuse')=='X','X','') &lt;STRONG&gt;OR&lt;/STRONG&gt;&amp;nbsp;IIF($feature.valveuse=='ZBV','X','')&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/415317_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further questions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 15:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-to-label-specific-domain/m-p/259784#M11381</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2018-07-27T15:01:00Z</dc:date>
    </item>
  </channel>
</rss>

