<?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 Using Arcade to build Pop-up Expressions in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcade-to-build-pop-up-expressions/m-p/1079053#M43314</link>
    <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I'm running into an issue with custom Arcade expressions when formatting a parcel layer pop-up. Let me provide some context first:&lt;/P&gt;&lt;P&gt;If you look at &lt;EM&gt;figure 1&lt;/EM&gt; below, this is how the pop-up is formatted. The&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;orange&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;box is where I run into my first issue.&amp;nbsp;&lt;EM&gt;Figure 2&lt;/EM&gt; illustrates that I have three expressions dictating the contents of the&amp;nbsp;&lt;STRONG&gt;Development Standards&lt;/STRONG&gt; title and associated data.&amp;nbsp;&lt;EM&gt;Figure 3&lt;/EM&gt; is expression0 (from Figure 2), which decides whether or not the text "Development Standards:" shows up in the pop-up.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Certain parcels (depending on zoning) do not have data for&amp;nbsp;&lt;EM&gt;height&lt;/EM&gt;, so we used an Arcade logical function to essentially say&amp;nbsp;&lt;EM&gt;do not show "&lt;STRONG&gt;Development Standards:&lt;/STRONG&gt;" if there is no height data (Figure 3).&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The same expression format is used for the data associated with&lt;EM&gt; development standards &lt;/EM&gt;(expressions 1 &amp;amp; 2; Figure 2) and for the &lt;EM&gt;minimum setbacks&lt;/EM&gt;&amp;nbsp;. So, if there is no data for those pop-up attributes, they &lt;EM&gt;also&lt;/EM&gt; should not show.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pop-up_Window.jpg" style="width: 261px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18474iB22C0EC4E62BDCB2/image-dimensions/261x441?v=v2" width="261" height="441" role="button" title="Pop-up_Window.jpg" alt="Pop-up_Window.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pop-up_ExpressionLayout.PNG" style="width: 250px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18475iA2F902528159B6E3/image-dimensions/250x440?v=v2" width="250" height="440" role="button" title="Pop-up_ExpressionLayout.PNG" alt="Pop-up_ExpressionLayout.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^Figure 1^^&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^^Figure 2^^&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dev_Stds_Expression.PNG" style="width: 360px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18476i1DFFB8D374DF6B85/image-dimensions/360x77?v=v2" width="360" height="77" role="button" title="Dev_Stds_Expression.PNG" alt="Dev_Stds_Expression.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^Figure 3^^&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; My issue is that even with these expressions that Pro validated, &lt;EM&gt;and&lt;/EM&gt; which actually work correctly in a live webapp we have on our &lt;A title="Zoning Map" href="https://www.arcgis.com/apps/webappviewer/index.html?id=eab40ffbe9b944dfa9195f75342d4986" target="_self"&gt;city's website&lt;/A&gt;, they are not working in Pro. The "&lt;STRONG&gt;Development Standards:&lt;/STRONG&gt;" and "&lt;STRONG&gt;Minimum Setbacks:&lt;/STRONG&gt;" section text and numbers are not supposed to show in the pop-up when I click on a parcel that is null/ has no data for these attributes, but they do. The numerical data doesn't show, but all of the text still does.&lt;/P&gt;&lt;P&gt;Might anyone know what is going on here? Thank you in advance, greatly!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 02:28:18 GMT</pubDate>
    <dc:creator>JackCharde1</dc:creator>
    <dc:date>2021-07-15T02:28:18Z</dc:date>
    <item>
      <title>Using Arcade to build Pop-up Expressions</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/using-arcade-to-build-pop-up-expressions/m-p/1079053#M43314</link>
      <description>&lt;P&gt;Hey everyone,&lt;/P&gt;&lt;P&gt;I'm running into an issue with custom Arcade expressions when formatting a parcel layer pop-up. Let me provide some context first:&lt;/P&gt;&lt;P&gt;If you look at &lt;EM&gt;figure 1&lt;/EM&gt; below, this is how the pop-up is formatted. The&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;orange&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;box is where I run into my first issue.&amp;nbsp;&lt;EM&gt;Figure 2&lt;/EM&gt; illustrates that I have three expressions dictating the contents of the&amp;nbsp;&lt;STRONG&gt;Development Standards&lt;/STRONG&gt; title and associated data.&amp;nbsp;&lt;EM&gt;Figure 3&lt;/EM&gt; is expression0 (from Figure 2), which decides whether or not the text "Development Standards:" shows up in the pop-up.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Certain parcels (depending on zoning) do not have data for&amp;nbsp;&lt;EM&gt;height&lt;/EM&gt;, so we used an Arcade logical function to essentially say&amp;nbsp;&lt;EM&gt;do not show "&lt;STRONG&gt;Development Standards:&lt;/STRONG&gt;" if there is no height data (Figure 3).&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The same expression format is used for the data associated with&lt;EM&gt; development standards &lt;/EM&gt;(expressions 1 &amp;amp; 2; Figure 2) and for the &lt;EM&gt;minimum setbacks&lt;/EM&gt;&amp;nbsp;. So, if there is no data for those pop-up attributes, they &lt;EM&gt;also&lt;/EM&gt; should not show.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pop-up_Window.jpg" style="width: 261px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18474iB22C0EC4E62BDCB2/image-dimensions/261x441?v=v2" width="261" height="441" role="button" title="Pop-up_Window.jpg" alt="Pop-up_Window.jpg" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pop-up_ExpressionLayout.PNG" style="width: 250px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18475iA2F902528159B6E3/image-dimensions/250x440?v=v2" width="250" height="440" role="button" title="Pop-up_ExpressionLayout.PNG" alt="Pop-up_ExpressionLayout.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^Figure 1^^&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^^Figure 2^^&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dev_Stds_Expression.PNG" style="width: 360px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18476i1DFFB8D374DF6B85/image-dimensions/360x77?v=v2" width="360" height="77" role="button" title="Dev_Stds_Expression.PNG" alt="Dev_Stds_Expression.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^Figure 3^^&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; My issue is that even with these expressions that Pro validated, &lt;EM&gt;and&lt;/EM&gt; which actually work correctly in a live webapp we have on our &lt;A title="Zoning Map" href="https://www.arcgis.com/apps/webappviewer/index.html?id=eab40ffbe9b944dfa9195f75342d4986" target="_self"&gt;city's website&lt;/A&gt;, they are not working in Pro. The "&lt;STRONG&gt;Development Standards:&lt;/STRONG&gt;" and "&lt;STRONG&gt;Minimum Setbacks:&lt;/STRONG&gt;" section text and numbers are not supposed to show in the pop-up when I click on a parcel that is null/ has no data for these attributes, but they do. The numerical data doesn't show, but all of the text still does.&lt;/P&gt;&lt;P&gt;Might anyone know what is going on here? Thank you in advance, greatly!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 02:28:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/using-arcade-to-build-pop-up-expressions/m-p/1079053#M43314</guid>
      <dc:creator>JackCharde1</dc:creator>
      <dc:date>2021-07-15T02:28:18Z</dc:date>
    </item>
  </channel>
</rss>

