<?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 Experience Builder, Arcade, popUp. in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/experience-builder-arcade-popup/m-p/1105713#M1044</link>
    <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I am using Experience Builder I am new to it but I would like to do the following: I have a list of suburbs and a list of flood events if I press the button Suburb and Probable Maximum Flood, then the pop-up message should appear with the name of the suburb and the description of the flood event. If I only press the flood event only should appear the description of the flood. (see picture below)&lt;/P&gt;&lt;P&gt;&amp;nbsp; I did an arcade code in the flood layer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var intersectLayer = Intersects($feature, FeatureSetByName($map,"Suburb"))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(var f in intersectLayer){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return f.SuburbName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it does not work because only appear the same name of suburb for example "Suburb 2" all the time. I also do not want that display all the names of suburbs that intersect the flood. If I click a suburb and a flood event it only should appear this info in the pop-up. I would appreciate any help. Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Greta_0-1633641407818.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24789i088E3E0973D5DC7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Greta_0-1633641407818.png" alt="Greta_0-1633641407818.png" /&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>Thu, 07 Oct 2021 21:31:34 GMT</pubDate>
    <dc:creator>Greta</dc:creator>
    <dc:date>2021-10-07T21:31:34Z</dc:date>
    <item>
      <title>Experience Builder, Arcade, popUp.</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/experience-builder-arcade-popup/m-p/1105713#M1044</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I am using Experience Builder I am new to it but I would like to do the following: I have a list of suburbs and a list of flood events if I press the button Suburb and Probable Maximum Flood, then the pop-up message should appear with the name of the suburb and the description of the flood event. If I only press the flood event only should appear the description of the flood. (see picture below)&lt;/P&gt;&lt;P&gt;&amp;nbsp; I did an arcade code in the flood layer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var intersectLayer = Intersects($feature, FeatureSetByName($map,"Suburb"))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for(var f in intersectLayer){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return f.SuburbName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But it does not work because only appear the same name of suburb for example "Suburb 2" all the time. I also do not want that display all the names of suburbs that intersect the flood. If I click a suburb and a flood event it only should appear this info in the pop-up. I would appreciate any help. Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Greta_0-1633641407818.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24789i088E3E0973D5DC7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Greta_0-1633641407818.png" alt="Greta_0-1633641407818.png" /&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>Thu, 07 Oct 2021 21:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/experience-builder-arcade-popup/m-p/1105713#M1044</guid>
      <dc:creator>Greta</dc:creator>
      <dc:date>2021-10-07T21:31:34Z</dc:date>
    </item>
  </channel>
</rss>

