<?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: Arcade error when using FeatureSetByName to get related data in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-error-when-using-featuresetbyname-to-get/m-p/1497774#M39867</link>
    <description>&lt;P&gt;What might be happening is the editor uses the first feature in the dataset for the run. If that feature doesn't intersect the "Civic Addresses" data, the variable int will be null. You should test for that&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return iif(IsEmpty(int), 'No intersecting feature', int.FULL_ADDRESS)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 26 Jun 2024 17:48:00 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2024-06-26T17:48:00Z</dc:date>
    <item>
      <title>Arcade error when using FeatureSetByName to get related data</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-error-when-using-featuresetbyname-to-get/m-p/1497729#M39866</link>
      <description>&lt;P&gt;I am working with a feature layer and a separate layer that intersect spatially. The layer I am trying to use in the pop-up is "Civic Addresses" and the attribute I'm trying to add in the pop-up is "FULL_ADDRESS".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Execution Error: Runtime Error: Cannot call member method on null. FULL_ADDRESS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aduyvesteyn_0-1719422760212.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107996i2C57FB5AFFAE3F96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aduyvesteyn_0-1719422760212.png" alt="aduyvesteyn_0-1719422760212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 17:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-error-when-using-featuresetbyname-to-get/m-p/1497729#M39866</guid>
      <dc:creator>aduyvesteyn</dc:creator>
      <dc:date>2024-06-26T17:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade error when using FeatureSetByName to get related data</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-error-when-using-featuresetbyname-to-get/m-p/1497774#M39867</link>
      <description>&lt;P&gt;What might be happening is the editor uses the first feature in the dataset for the run. If that feature doesn't intersect the "Civic Addresses" data, the variable int will be null. You should test for that&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return iif(IsEmpty(int), 'No intersecting feature', int.FULL_ADDRESS)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Jun 2024 17:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-error-when-using-featuresetbyname-to-get/m-p/1497774#M39867</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-06-26T17:48:00Z</dc:date>
    </item>
  </channel>
</rss>

