<?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 Popup Element not appearing consistently in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602257#M64257</link>
    <description>&lt;P&gt;I'm playing with this still. I've simplified my arcade popup element down to a single field with no fanciness. Code as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return {
  "fieldInfos": [
    {
      "fieldName": "variety1", // field name from feature service
      "visible": true,
      "isEditable": true,
      "label": "Var1"
    }
  ],
  "type": "fields"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation here would seem to indicate I should have access to $feature profile variables: &lt;A href="https://developers.arcgis.com/arcade/profiles/popup-element/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup-element/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can make an arcade &lt;U&gt;text&lt;/U&gt; element that calls $feature profile variables on it's own, but not an arcade fields element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, my workaround is to have an attribute expression that lists all the $feature variables I would like to use, this allows arcade field elements to function as normal.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2025 10:29:22 GMT</pubDate>
    <dc:creator>BlakeMorrison</dc:creator>
    <dc:date>2025-04-03T10:29:22Z</dc:date>
    <item>
      <title>Arcade Popup Element not appearing consistently</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602180#M64256</link>
      <description>&lt;P&gt;I have a couple of arcade elements creating the fields list in a Map Viewer popup. There seems to be some issue displaying/running the elements under certain circumstances:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm experiencing one element just not appearing&lt;/LI&gt;&lt;LI&gt;while another element seems to not recognise a code change I have made.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If I add a standard fields list element into the popup, these issues disappear and the popup behaves as expected. If I remove all the fields from the fields list, or just remove the fields list entirely, the issue reoccurs, including the code change no longer being recognised.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshots attached only show the element disappearing entirely.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2elements-problem.jpg" style="width: 951px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129356iC8E8EBC509083EF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="2elements-problem.jpg" alt="2elements-problem.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3elements-noproblem.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129358i3777E9EFF12BC083/image-size/large?v=v2&amp;amp;px=999" role="button" title="3elements-noproblem.jpg" alt="3elements-noproblem.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: With a little bit more playing I'm now not able to display any values via an arcade fields element unless they're already being displayed in a normal fields list. Ie. I can control which portions of my arcade elements work based on the attributes I display in a standard field list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's something wrong with the rendering profile I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 10:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602180#M64256</guid>
      <dc:creator>BlakeMorrison</dc:creator>
      <dc:date>2025-04-03T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Popup Element not appearing consistently</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602257#M64257</link>
      <description>&lt;P&gt;I'm playing with this still. I've simplified my arcade popup element down to a single field with no fanciness. Code as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return {
  "fieldInfos": [
    {
      "fieldName": "variety1", // field name from feature service
      "visible": true,
      "isEditable": true,
      "label": "Var1"
    }
  ],
  "type": "fields"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The documentation here would seem to indicate I should have access to $feature profile variables: &lt;A href="https://developers.arcgis.com/arcade/profiles/popup-element/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup-element/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can make an arcade &lt;U&gt;text&lt;/U&gt; element that calls $feature profile variables on it's own, but not an arcade fields element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, my workaround is to have an attribute expression that lists all the $feature variables I would like to use, this allows arcade field elements to function as normal.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 10:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602257#M64257</guid>
      <dc:creator>BlakeMorrison</dc:creator>
      <dc:date>2025-04-03T10:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Popup Element not appearing consistently</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602277#M64258</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/708431"&gt;@BlakeMorrison&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using the &lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#expects" target="_self"&gt;Expects()&lt;/A&gt; function at the beginning of your script to reference any fields from you need for your fields element.&lt;/P&gt;&lt;P&gt;This should fix your issue and prevent you from having to reference particular fields in your normal fields list, as you mention below:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/708431"&gt;@BlakeMorrison&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;EDIT: With a little bit more playing I'm now not able to display any values via an arcade fields element unless they're already being displayed in a normal fields list. Ie. I can control which portions of my arcade elements work based on the attributes I display in a standard field list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602277#M64258</guid>
      <dc:creator>timcneil</dc:creator>
      <dc:date>2025-04-03T12:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Popup Element not appearing consistently</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602279#M64259</link>
      <description>&lt;P&gt;That seems like a good workaround too. Are you able to comment on whether my issue is expected functionality?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:09:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1602279#M64259</guid>
      <dc:creator>BlakeMorrison</dc:creator>
      <dc:date>2025-04-03T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Popup Element not appearing consistently</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1603115#M64323</link>
      <description>&lt;P&gt;I've been in touch with support and they directed me towards a support article which is a similar issue, with a similar workaround, though apparently marked as As Designed:&amp;nbsp;&lt;A href="https://support.esri.com/en-us/bug/inconsistent-behavior-in-the-map-viewer-popups-when-con-bug-000171620" target="_blank"&gt;https://support.esri.com/en-us/bug/inconsistent-behavior-in-the-map-viewer-popups-when-con-bug-000171620&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think it's the same issue as I can reference any $feature attributes I want in an arcade popup text element, but not in an&amp;nbsp;arcade popup fields element.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 00:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-popup-element-not-appearing-consistently/m-p/1603115#M64323</guid>
      <dc:creator>BlakeMorrison</dc:creator>
      <dc:date>2025-04-07T00:00:43Z</dc:date>
    </item>
  </channel>
</rss>

