<?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: Problem with Arcade Expression for Pop-Ups in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337141#M14794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no luck. Getting this error now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #de2900; background-color: rgba(255, 255, 255, 0.8);"&gt;Execution Error:&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;Runtime Error: Cannot call member property on object of this type.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2020 15:02:30 GMT</pubDate>
    <dc:creator>BrianE</dc:creator>
    <dc:date>2020-07-02T15:02:30Z</dc:date>
    <item>
      <title>Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337137#M14790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to Arcade and have been exploring it for the last week or so. I have run into an issue with a pop-up.&lt;/P&gt;&lt;P&gt;I am mapping the locations of numerous companies. Some have one location, others have up to six locations. I am writing an expression that will list the locations and their corresponding square footage. So, a company with just one location will have just one line with their address and SF, companies with two locations will have 2 lines (one line for each location), etc.&lt;/P&gt;&lt;P&gt;This is what I have so far:&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_1"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine +&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_2"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine +&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_3"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine +&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_4"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine +&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_5"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine +&lt;/P&gt;&lt;P&gt;$feature["ADDRESS_6"] + "&amp;nbsp; (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot figure out how to have the pop up display ONLY the lines with their locations. I tried messing around with the DefaultValue function but that didn't give me the result I needed.&lt;/P&gt;&lt;P&gt;I have attached a jpeg with current and desired pop-up appearance.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 13:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337137#M14790</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337138#M14791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should run a check to see if a location has additional addresses before adding the text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; output &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// and so on...&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:58:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337138#M14791</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T15:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337139#M14792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ken. Some&amp;nbsp;companies have multiple addresses and some do not. They are all part of the same feature layer.&amp;nbsp;Just tried your suggestion and got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #de2900; background-color: rgba(255, 255, 255, 0.8);"&gt;Parse Error:&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;Line 2: Unexpected token {&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337139#M14792</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337140#M14793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Argh...a forgotten parenthesis. Try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; output &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337140#M14793</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T15:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337141#M14794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no luck. Getting this error now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #de2900; background-color: rgba(255, 255, 255, 0.8);"&gt;Execution Error:&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: rgba(255, 255, 255, 0.8);"&gt;Runtime Error: Cannot call member property on object of this type.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337141#M14794</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T15:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337142#M14795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line 2 and 5 above were missing a "$" sign. I put that in there and received no error messages. However, now it returns blanks for all&amp;nbsp;addresses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="310" src="https://community.esri.com/legacyfs/online/498695_Arcade2.JPG" width="340" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337142#M14795</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337143#M14796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, sorry about that. Do you have a return statement at the end? I wasn't sure if you had additional information you were adding for the other pieces in your popup or if this was a separate expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; output &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  output &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"ADDRESS_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"  ("&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Text&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"SQUARE_FEET_3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'#,###'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" RSF)"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; TextFormatting&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;NewLine 
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; output&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337143#M14796</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T15:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337144#M14797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't have a return statement. Sorry, I am&amp;nbsp;very new to this. Just tried with a return statement and am getting same result that I had originally (see screenshot). And yes, the other pieces in the pop up are from separate expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="334" src="https://community.esri.com/legacyfs/online/498696_Arcade3.JPG" width="279" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:27:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337144#M14797</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T15:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337145#M14798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your code and a snapshot of your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337145#M14798</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2020-07-02T15:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337146#M14799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. See below. That is for the Addresses.&amp;nbsp;Screenshot of data from Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var output = $feature["ADDRESS_1"] + " (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_2"])){&lt;BR /&gt; output += $feature["ADDRESS_2"] + " (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_3"])){&lt;BR /&gt; output += $feature["ADDRESS_3"] + " (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_4"])){&lt;BR /&gt; output += $feature["ADDRESS_4"] + " (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_5"])){&lt;BR /&gt; output += $feature["ADDRESS_5"] + " (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_6"])){&lt;BR /&gt; output += $feature["ADDRESS_6"] + " (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;return output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/498697_Data.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 16:01:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337146#M14799</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T16:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337147#M14800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tested your code with a dummy dataset I created and it works as expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var output = $feature["ADDRESS_1"] + TextFormatting.NewLine
if (!IsEmpty($feature["ADDRESS_2"])){
  output += $feature["ADDRESS_2"] + TextFormatting.NewLine
}
if (!IsEmpty($feature["ADDRESS_3"])){
  output += $feature["ADDRESS_3"]  + TextFormatting.NewLine
}
return output‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/498691_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Popup:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/498728_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337147#M14800</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T15:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337148#M14801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this worked! Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this RSF value is missing from the expression and the pop up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 19:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337148#M14801</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T19:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Arcade Expression for Pop-Ups</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337149#M14802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var output = $feature["ADDRESS_1"] + " (" + Text($feature["SQUARE_FEET_1"], '#,###') + " RSF)" + TextFormatting.NewLine&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_2"])){&lt;BR /&gt; output += $feature["ADDRESS_2"] + " (" + Text($feature["SQUARE_FEET_2"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_3"])){&lt;BR /&gt; output += $feature["ADDRESS_3"] +- " (" + Text($feature["SQUARE_FEET_3"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_4"])){&lt;BR /&gt; output += $feature["ADDRESS_4"] +- " (" + Text($feature["SQUARE_FEET_4"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_5"])){&lt;BR /&gt; output += $feature["ADDRESS_5"] +- " (" + Text($feature["SQUARE_FEET_5"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;if (!IsEmpty($feature["ADDRESS_6"])){&lt;BR /&gt; output += $feature["ADDRESS_6"] +- " (" + Text($feature["SQUARE_FEET_6"], '#,###') + " RSF)" + TextFormatting.NewLine &lt;BR /&gt;}&lt;BR /&gt;return output&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 19:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/problem-with-arcade-expression-for-pop-ups/m-p/337149#M14802</guid>
      <dc:creator>BrianE</dc:creator>
      <dc:date>2020-07-02T19:24:53Z</dc:date>
    </item>
  </channel>
</rss>

