<?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 Expression for Pop-Up Intersect in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1494120#M59750</link>
    <description>&lt;P&gt;It worked! You're an Arcade Wiz! Both expressions I found helpful in better understanding Arcade.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 00:53:38 GMT</pubDate>
    <dc:creator>GIS1CSGENGR</dc:creator>
    <dc:date>2024-06-18T00:53:38Z</dc:date>
    <item>
      <title>Arcade Expression for Pop-Up Intersect</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1493929#M59747</link>
      <description>&lt;P&gt;Hi Esri Community,&lt;/P&gt;&lt;P&gt;I am seeking advice with an Arcade expression for pop up in Map Viewer. What I have are intersecting areas that follows an if/else statement shown as text. The code works displaying areas where the addresses that lay within the intersecting areas (planzone and rda) but anything outside does not display the return.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way without intersecting another boundary to display addresses that fall outside areas?&lt;/P&gt;&lt;P&gt;Thanks you in advance for any Arcade expression solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ESRI_Arcade_Question.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107204iE276841733CCC2A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="ESRI_Arcade_Question.png" alt="ESRI_Arcade_Question.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 18:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1493929#M59747</guid>
      <dc:creator>GIS1CSGENGR</dc:creator>
      <dc:date>2024-06-17T18:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expression for Pop-Up Intersect</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1493946#M59748</link>
      <description>&lt;P&gt;**Edit: updated for a better response.&lt;/P&gt;&lt;P&gt;This is one way to do it&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var planzone = First(...
var rda = First(...

var output = `ADDITIONAL DETAILS&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
Zoning: ${iif(!IsEmpty(planzone), planzone.Zoning, 'No')}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
RDA Boundary: ${iif(!IsEmpty(rda), rda.ENTITY, 'No')}`

return {
  type: 'text',
  text: output
}&lt;/LI-CODE&gt;&lt;P&gt;If you'd like a separate response if the feature falls outside both areas, you can use this instead&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var planzone = First(...
var rda = First(...
var output;

if (IsEmpty(rda) &amp;amp;&amp;amp; IsEmpty (planzone)) {
  output = "Feature is outside the Zoning and RDA areas"
} else {
  output = `ADDITIONAL DETAILS&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;`
  output += `Zoning: ${iif(!IsEmpty(planzone), planzone.Zoning, 'No')}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;`
  output += `RDA Boundary: ${iif(!IsEmpty(rda), rda.ENTITY, 'No')}`
} 

return {
  type: 'text',
  text: output
}&lt;/LI-CODE&gt;&lt;P&gt;Note: pardon any typos. Using the &lt;A href="https://community.esri.com/t5/community-help-documents/how-to-insert-code-in-your-post/ta-p/914552" target="_self"&gt;Insert/edit code sample tool&lt;/A&gt; makes it easier to provide a good sample&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 21:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1493946#M59748</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-06-17T21:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Expression for Pop-Up Intersect</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1494120#M59750</link>
      <description>&lt;P&gt;It worked! You're an Arcade Wiz! Both expressions I found helpful in better understanding Arcade.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 00:53:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-for-pop-up-intersect/m-p/1494120#M59750</guid>
      <dc:creator>GIS1CSGENGR</dc:creator>
      <dc:date>2024-06-18T00:53:38Z</dc:date>
    </item>
  </channel>
</rss>

