<?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: Map Popup expression returning [object Object] in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661834#M66856</link>
    <description>&lt;P&gt;&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;This technically isn't a valid expression for attribute popups. As stated in the Arcade documentation, the only valid return types for the popup profile is "text" and "number" (&lt;A href="https://developers.arcgis.com/arcade/profiles/popup/#return-types" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup/#return-types&lt;/A&gt;). This has always been the case. No other return type has been officially supported by Esri. Therefore, we will not make changes that allow for creating tables from a direct dictionary return for attribute popups.&lt;/P&gt;&lt;P&gt;However, the desired behavior is already possible in the Popup Element Profile (&lt;A href="https://developers.arcgis.com/arcade/profiles/popup-element/#return-types" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup-element/#return-types&lt;/A&gt;), which only supports Dictionary as a valid return type. With this profile, you can dynamically create field info lists, html tables and other elements, and popup charts. It is much more powerful and capable than returning plain Arcade dictionaries as you can style and dynamically return different elements depending on data values.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Several blog articles have been written about this as well. I would start with this one:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Taylor&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Oct 2025 12:51:32 GMT</pubDate>
    <dc:creator>timcneil</dc:creator>
    <dc:date>2025-10-29T12:51:32Z</dc:date>
    <item>
      <title>Map Popup expression returning [object Object]</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661195#M66810</link>
      <description>&lt;P&gt;since the last AGOL update my attribute expression is no longer working it just returns&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;[object Object]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StuartMoore_0-1761641057634.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142699i97E0E18339933162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StuartMoore_0-1761641057634.png" alt="StuartMoore_0-1761641057634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;this is a simplified example with just one if and it returns the correct data in the arcade editor when you run it&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StuartMoore_1-1761641383980.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142700i7D89AFC73BF77359/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StuartMoore_1-1761641383980.png" alt="StuartMoore_1-1761641383980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but just returns&amp;nbsp;[object Object] in the popup when you click on the polygon in the map.&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 08:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661195#M66810</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2025-10-28T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Map Popup expression returning [object Object]</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661340#M66821</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159798"&gt;@StuartMoore&lt;/a&gt;&amp;nbsp;, I believe you may have encountered this Bug, ref&amp;nbsp;&lt;SPAN&gt;BUG-000180482.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 15:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661340#M66821</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2025-10-28T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Map Popup expression returning [object Object]</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661453#M66828</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159762"&gt;@ChrisUnderwood&lt;/a&gt;&amp;nbsp;do you have details on the bug?&lt;BR /&gt;&lt;BR /&gt;i've had to re-create it thankfully i found this post which helped:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-documents/conditional-field-display-with-arcade-in-pop-ups/ta-p/920869" target="_blank"&gt;Conditional Field display with Arcade in Pop Ups (... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Stu&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 17:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661453#M66828</guid>
      <dc:creator>StuartMoore</dc:creator>
      <dc:date>2025-10-28T17:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Map Popup expression returning [object Object]</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661834#M66856</link>
      <description>&lt;P&gt;&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;This technically isn't a valid expression for attribute popups. As stated in the Arcade documentation, the only valid return types for the popup profile is "text" and "number" (&lt;A href="https://developers.arcgis.com/arcade/profiles/popup/#return-types" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup/#return-types&lt;/A&gt;). This has always been the case. No other return type has been officially supported by Esri. Therefore, we will not make changes that allow for creating tables from a direct dictionary return for attribute popups.&lt;/P&gt;&lt;P&gt;However, the desired behavior is already possible in the Popup Element Profile (&lt;A href="https://developers.arcgis.com/arcade/profiles/popup-element/#return-types" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/profiles/popup-element/#return-types&lt;/A&gt;), which only supports Dictionary as a valid return type. With this profile, you can dynamically create field info lists, html tables and other elements, and popup charts. It is much more powerful and capable than returning plain Arcade dictionaries as you can style and dynamically return different elements depending on data values.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Several blog articles have been written about this as well. I would start with this one:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/part-1-introducing-arcade-pop-up-content-elements&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Taylor&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 12:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/map-popup-expression-returning-object-object/m-p/1661834#M66856</guid>
      <dc:creator>timcneil</dc:creator>
      <dc:date>2025-10-29T12:51:32Z</dc:date>
    </item>
  </channel>
</rss>

