<?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 Pop Up Malfunctioning in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653852#M20986</link>
    <description>&lt;P&gt;I was able to figure it out.&lt;/P&gt;&lt;P&gt;I switched out&amp;nbsp;FeatureSetByName(&lt;STRONG&gt;$map&lt;/STRONG&gt;, "LayerName", ["fields"]) to&amp;nbsp;&amp;nbsp;FeatureSetByName(&lt;STRONG&gt;$datastore&lt;/STRONG&gt;, "LayerName", ["fields"]).&lt;/P&gt;&lt;P&gt;Something about how the widgets in ExB will strip down the data if only using $map (I assume for quicker responses) and is meant to used more for things directly related to the individual map object, but $datastore access the data directly and does not strip away anything.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 14:01:53 GMT</pubDate>
    <dc:creator>MollyE</dc:creator>
    <dc:date>2025-09-29T14:01:53Z</dc:date>
    <item>
      <title>Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653390#M20969</link>
      <description>&lt;P&gt;I am using an arcade script to calculate and format a popup in a map which calculates the area of a department across various regions (on the same level, facility, site, district) and also lists the other facilities that have units with that same department. So when you select a unit, it gives information on that unit, including the department it is allocated to, and then gives some square footage stats related to that department. The pop up works great when looking at it in Pro and in a web map, however when I use that web map in ExB, it does not always calculate the area correctly or list all the other related facilities. Because it works as expected in Pro and web maps (and for some units while in ExB) I'm fairly confident my script is fine, but I'm wondering if there is some issue with how Arcade works inside ExB? I tried to use WebApp Builder just to see, and the pop ups do not render anything at all. I have gotten the same results across multiple devices, in Chrome and Edge but I have not tried other browsers yet.&lt;/P&gt;&lt;P&gt;Here is how a pop up renders (correctly) in a Web Map:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MollyE_0-1758841657508.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140986iE20E6640551408ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MollyE_0-1758841657508.png" alt="MollyE_0-1758841657508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the same feature in ExB (incorrect):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MollyE_1-1758841666329.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140987iBA2779869641C924/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MollyE_1-1758841666329.png" alt="MollyE_1-1758841666329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another example of a different error, in Web Map (correct):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MollyE_0-1758842275465.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140992i360A5F463D105BEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MollyE_0-1758842275465.png" alt="MollyE_0-1758842275465.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the same feature in ExB (incorrect):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MollyE_3-1758841845134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140989i6EC6656DD66A0A51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MollyE_3-1758841845134.png" alt="MollyE_3-1758841845134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has any ideas on what could be happening, I'd love to hear it.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 23:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653390#M20969</guid>
      <dc:creator>MollyE</dc:creator>
      <dc:date>2025-09-25T23:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653406#M20970</link>
      <description>&lt;P&gt;You could try adding the following to your script:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expects($feature, '*')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;According to the help this "&lt;EM&gt;Requests all fields because the required fields may&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;be based on unknown information&lt;/EM&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Basically it r&lt;SPAN&gt;equests all data for the feature&lt;/SPAN&gt;&amp;nbsp;and make sure is available before performing calculations.&lt;/P&gt;&lt;P&gt;It makes the popups slower but has helped me solve issues with my arcade scripts in the past.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 00:20:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653406#M20970</guid>
      <dc:creator>Bryan_krg</dc:creator>
      <dc:date>2025-09-26T00:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653736#M20981</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/836388"&gt;@MollyE&lt;/a&gt;&amp;nbsp; - This is weird. the Arcade should be set at the map level and ExB shouldn't really affect it.&lt;BR /&gt;The only other thing I can think of is spatial elements within arcade.&lt;BR /&gt;Are you using "touches" or "within" your arcade? I know the geometry is generalized sometimes depending on what scale you are at.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 01:50:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653736#M20981</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2025-09-29T01:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653834#M20984</link>
      <description>&lt;P&gt;I really thought that was going to be it, but unfortunately it did not work. I appreciate the idea to try though, and it's good to know about that function.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 13:11:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653834#M20984</guid>
      <dc:creator>MollyE</dc:creator>
      <dc:date>2025-09-29T13:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653836#M20985</link>
      <description>&lt;P&gt;I am not,&amp;nbsp; but I am using the Shape__Area field and we have our own gross_area field calculated from our CAD data, and it matches up pretty exactly so I will try using the gross_area field instead and see how that goes. I don't think the Shape__Area changes on the fly when the geo is generalized but it's worth a shot.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 13:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653836#M20985</guid>
      <dc:creator>MollyE</dc:creator>
      <dc:date>2025-09-29T13:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653852#M20986</link>
      <description>&lt;P&gt;I was able to figure it out.&lt;/P&gt;&lt;P&gt;I switched out&amp;nbsp;FeatureSetByName(&lt;STRONG&gt;$map&lt;/STRONG&gt;, "LayerName", ["fields"]) to&amp;nbsp;&amp;nbsp;FeatureSetByName(&lt;STRONG&gt;$datastore&lt;/STRONG&gt;, "LayerName", ["fields"]).&lt;/P&gt;&lt;P&gt;Something about how the widgets in ExB will strip down the data if only using $map (I assume for quicker responses) and is meant to used more for things directly related to the individual map object, but $datastore access the data directly and does not strip away anything.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 14:01:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653852#M20986</guid>
      <dc:creator>MollyE</dc:creator>
      <dc:date>2025-09-29T14:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Pop Up Malfunctioning</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653969#M20992</link>
      <description>&lt;P&gt;Awesome work! Learnt something new today.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 18:51:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/arcade-pop-up-malfunctioning/m-p/1653969#M20992</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2025-09-29T18:51:35Z</dc:date>
    </item>
  </channel>
</rss>

