<?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: labelExpression With NULL Fields in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725695#M67368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;This only works with FeatureLayer.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;How to make this work with MapImageLayer?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2020 07:19:44 GMT</pubDate>
    <dc:creator>IgorDolbik-Vorobey1</dc:creator>
    <dc:date>2020-01-27T07:19:44Z</dc:date>
    <item>
      <title>labelExpression With NULL Fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725693#M67366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm labeling a layer dinamicaly with 2 fields selcted by user. I create a labelExpression like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[FIELD1] CONCAT [FIELD2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects 2 required fields the labeling works great. When the user selects 1 required field and 1 not required field the label don't show for all features. I think because FIELD2 in the second case has null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be apreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 14:22:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725693#M67366</guid>
      <dc:creator>RodrigoFelga</dc:creator>
      <dc:date>2019-07-10T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: labelExpression With NULL Fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725694#M67367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try the DefaultValue Arcade expression:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/logical_functions/" title="https://developers.arcgis.com/arcade/function-reference/logical_functions/"&gt;Logical Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which we use in this sample for features that are missing data:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=symbols-points-3d" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=symbols-points-3d"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 20:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725694#M67367</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-08-20T20:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: labelExpression With NULL Fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725695#M67368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;This only works with FeatureLayer.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;How to make this work with MapImageLayer?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2020 07:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725695#M67368</guid>
      <dc:creator>IgorDolbik-Vorobey1</dc:creator>
      <dc:date>2020-01-27T07:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: labelExpression With NULL Fields</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725696#M67369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would require some SQL logic, possibly using a combination of the labelExpression and the where properties. I just tried but couldn't get it working yet. Will continue to investigate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 23:54:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/labelexpression-with-null-fields/m-p/725696#M67369</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-01-29T23:54:00Z</dc:date>
    </item>
  </channel>
</rss>

