<?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: AGOL Update - Pop-up fields with Arcade expression no longer displaying in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660927#M66788</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/451527"&gt;@Espressoz&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to hear you're having difficulties. It's hard to say what may be occurring without looking at the dataset/map... but have you tried using the &lt;A href="https://developers.arcgis.com/arcade/function-reference/feature_functions/#expects" target="_self"&gt;Expects() function&lt;/A&gt; at the beginning of your script?&lt;/P&gt;&lt;P&gt;The mention you make of the initial popup displaying OK when you toggle "Enable pop-ups" leads me to believe this may help with the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2025 11:38:47 GMT</pubDate>
    <dc:creator>timcneil</dc:creator>
    <dc:date>2025-10-27T11:38:47Z</dc:date>
    <item>
      <title>AGOL Update - Pop-up fields with Arcade expression no longer displaying</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660657#M66776</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a simple map where the main point data are pulled from a live/referenced CSV published via Google Sheets. I used an Arcade expression (through the "Add Content &amp;gt; Arcade" block) to prevent any fields with null/empty string records from displaying in the pop-ups (styled as just the default attribute table). Until the update, it was working perfectly.&lt;/P&gt;&lt;P&gt;After the update yesterday, the correctly configured table will initially display for a single point, but when I click on other features (or back to that original point), where the table should be in the pop-up is completely blank. I can reliably reproduce this when I toggle "Enable pop-ups."&lt;/P&gt;&lt;P&gt;When I test run the code, the correct output appears. I'm definitely a beginner with Arcade and got the code below from another user, modifying it for my map. I've already tried quite a few workarounds, but nothing is producing what I had before -- it's just blank. The Text block that precedes the Arcade expression still displays normally.&lt;/P&gt;&lt;P&gt;Is this an update bug, or should I be doing something different? I would appreciate any help. Let me know if I can provide further details. Thank you!&lt;/P&gt;&lt;P&gt;Here is the code that previously worked for me:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var attributes = Dictionary($feature)["attributes"];
var fieldInfos = [];
var attributeValues = {};

var excludeFields = ["Field1", "Field2", "Field3"]; //Excluded fields, null or not null

var layer_schema = Schema($feature);
var fieldAliases = {};

for (var i = 0; i &amp;lt; Count(layer_schema.fields); i++) {
    var field = layer_schema.fields[i];
    fieldAliases[field.name] = field.alias;
}

for (var key in attributes) {
    var value = attributes[key];

    if (!IsEmpty(value) &amp;amp;&amp;amp; value != "" &amp;amp;&amp;amp; IndexOf(excludeFields, key) == -1) {
        var displayName = key; // Default to field name
        
        // Use alias if available
        if (HasKey(fieldAliases, key)) {
            displayName = fieldAliases[key];
        }
        
        Push(fieldInfos, { fieldName: key, label: displayName });
        attributeValues[key] = value;
    }
}


return {
    type: 'fields',
    fieldInfos: fieldInfos,
    attributes: attributeValues
};
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 19:14:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660657#M66776</guid>
      <dc:creator>Espressoz</dc:creator>
      <dc:date>2025-10-24T19:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Update - Pop-up fields with Arcade expression no longer displaying</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660927#M66788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/451527"&gt;@Espressoz&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to hear you're having difficulties. It's hard to say what may be occurring without looking at the dataset/map... but have you tried using the &lt;A href="https://developers.arcgis.com/arcade/function-reference/feature_functions/#expects" target="_self"&gt;Expects() function&lt;/A&gt; at the beginning of your script?&lt;/P&gt;&lt;P&gt;The mention you make of the initial popup displaying OK when you toggle "Enable pop-ups" leads me to believe this may help with the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 11:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660927#M66788</guid>
      <dc:creator>timcneil</dc:creator>
      <dc:date>2025-10-27T11:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Update - Pop-up fields with Arcade expression no longer displaying</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660992#M66797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/512339"&gt;@timcneil&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, that worked! That was a simple solution after my many failed attempts. Thank you so much for your help!&lt;/P&gt;&lt;P&gt;I'm not sure if this was the best way to use the function, but if anyone is having a similar issue, I just used the below at the very beginning:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Expects&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"*"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank you again, Taylor!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 15:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1660992#M66797</guid>
      <dc:creator>Espressoz</dc:creator>
      <dc:date>2025-10-27T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Update - Pop-up fields with Arcade expression no longer displaying</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1661208#M66812</link>
      <description>&lt;P&gt;i'm having similar issues and the&amp;nbsp;&lt;SPAN&gt;Expects&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'*'&lt;/SPAN&gt;&lt;SPAN&gt;) didnt work unfortunately&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 09:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1661208#M66812</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2025-10-28T09:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL Update - Pop-up fields with Arcade expression no longer displaying</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1661282#M66814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159798"&gt;@StuartMoore&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked briefly at your latest post. It looks like you may have been using an undocumented behaviour, but it's difficult to say for sure.&lt;/P&gt;&lt;P&gt;This comment may be helpful: &lt;A href="https://community.esri.com/t5/arcgis-online-questions/change-in-arcade-return-of-array-after-latest-agol/m-p/1660481/highlight/true#M66769" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/change-in-arcade-return-of-array-after-latest-agol/m-p/1660481/highlight/true#M66769&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 12:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-update-pop-up-fields-with-arcade-expression/m-p/1661282#M66814</guid>
      <dc:creator>timcneil</dc:creator>
      <dc:date>2025-10-28T12:41:57Z</dc:date>
    </item>
  </channel>
</rss>

