<?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: IsEmpty() is a Liar! in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/isempty-is-a-liar/m-p/1352767#M56044</link>
    <description>&lt;P&gt;Aren't you checking isEmpty() against a row of a feature set which surely exists?&lt;/P&gt;&lt;P&gt;I'd try to check against the record:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(First(FeatureSetByRelationshipName($feature, "Parking_Count_Segments Inspections to Polygons", ["Spaces_30min"], false))).Spaces_30min&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 22 Nov 2023 20:09:31 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2023-11-22T20:09:31Z</dc:date>
    <item>
      <title>IsEmpty() is a Liar!</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/isempty-is-a-liar/m-p/1352375#M56023</link>
      <description>&lt;P&gt;I am struggling with some arcade that is supposed to hide fields in a table if fields in a related table are null.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have written the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;First&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByRelationshipName&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Parking_Count_Segments Inspections to Polygons"&lt;/SPAN&gt;&lt;SPAN&gt;, [&lt;/SPAN&gt;&lt;SPAN&gt;"Spaces_30min"&lt;/SPAN&gt;&lt;SPAN&gt;], false)))&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This code should return true as :&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;First&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByRelationshipName&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Parking_Count_Segments Inspections to Polygons"&lt;/SPAN&gt;&lt;SPAN&gt;, [&lt;/SPAN&gt;&lt;SPAN&gt;"Spaces_30min"&lt;/SPAN&gt;&lt;SPAN&gt;], false))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;outputs&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielKurmann_1-1700613777225.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/86830i12DFFB026F6E4A01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielKurmann_1-1700613777225.png" alt="DanielKurmann_1-1700613777225.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DanielKurmann_1-1700613777225.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 00:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/isempty-is-a-liar/m-p/1352375#M56023</guid>
      <dc:creator>DanielKurmann</dc:creator>
      <dc:date>2023-11-22T00:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: IsEmpty() is a Liar!</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/isempty-is-a-liar/m-p/1352767#M56044</link>
      <description>&lt;P&gt;Aren't you checking isEmpty() against a row of a feature set which surely exists?&lt;/P&gt;&lt;P&gt;I'd try to check against the record:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(First(FeatureSetByRelationshipName($feature, "Parking_Count_Segments Inspections to Polygons", ["Spaces_30min"], false))).Spaces_30min&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Nov 2023 20:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/isempty-is-a-liar/m-p/1352767#M56044</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-11-22T20:09:31Z</dc:date>
    </item>
  </channel>
</rss>

