<?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 Learning Arcade and need help with replacing empty feature in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040297#M39139</link>
    <description>&lt;P&gt;I've just started learning Arcade and I am having an issue with something that I assumed would be so simple. I am trying to use a custom expression on label features to show "ASMT" when "Situs.Addr" is empty. Here's what I have, but it fails to show "ASMT" when "Situs.Addr" is empty.&lt;/P&gt;&lt;P&gt;IIf(IsEmpty($feature["Situs_Addr"]), $feature.ASMT, $feature["Situs_Addr"])&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 17:46:26 GMT</pubDate>
    <dc:creator>kbourg1_shastagis</dc:creator>
    <dc:date>2021-03-24T17:46:26Z</dc:date>
    <item>
      <title>Learning Arcade and need help with replacing empty feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040297#M39139</link>
      <description>&lt;P&gt;I've just started learning Arcade and I am having an issue with something that I assumed would be so simple. I am trying to use a custom expression on label features to show "ASMT" when "Situs.Addr" is empty. Here's what I have, but it fails to show "ASMT" when "Situs.Addr" is empty.&lt;/P&gt;&lt;P&gt;IIf(IsEmpty($feature["Situs_Addr"]), $feature.ASMT, $feature["Situs_Addr"])&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 17:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040297#M39139</guid>
      <dc:creator>kbourg1_shastagis</dc:creator>
      <dc:date>2021-03-24T17:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Learning Arcade and need help with replacing empty feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040318#M39142</link>
      <description>&lt;P&gt;I know the syntax switches in arcade to reference attributes (also not sure why - anyone?), so you may need&amp;nbsp;&lt;SPAN&gt;$feature["ASMT"] along the lines of the other attributes you have.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 18:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040318#M39142</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-24T18:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Learning Arcade and need help with replacing empty feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040345#M39143</link>
      <description>&lt;P&gt;Is "ASMT" a string or an attribute of the feature? If it's just a string, then use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;IIf(IsEmpty($feature["Situs_Addr"]), "ASMT", $feature["Situs_Addr"])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 19:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/learning-arcade-and-need-help-with-replacing-empty/m-p/1040345#M39143</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-03-24T19:38:47Z</dc:date>
    </item>
  </channel>
</rss>

