<?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: Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1285371#M51903</link>
    <description>&lt;P&gt;Your example appears to be point related, so may not apply, but I have had similar issues to this in dashboards using SDE data/views.&lt;/P&gt;&lt;P&gt;Turns out AGOL doesn't play well with fields that are not actually part of the feature class (Shape.STArea(),&amp;nbsp;Shape.STLength()) and are added/calculated on the fly when you access them.&lt;/P&gt;&lt;P&gt;When I modified my view syntax to cast them to a different name, all seems to work fine:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;SELECT  OBJECTID, Owner, recnum, Shape.STLength() AS Length&lt;/LI-CODE&gt;&lt;P&gt;rather than:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;SELECT  OBJECTID, Owner, recnum, Shape.STLength()&lt;/LI-CODE&gt;&lt;P&gt;In fact, I had to create the views in order to overcome this rather than just using the feature class itself.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 19:02:38 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2023-05-03T19:02:38Z</dc:date>
    <item>
      <title>Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1285258#M51892</link>
      <description>&lt;P&gt;I have a database view (have attempted with just a query layer as well) that works and has worked in the past to display a custom popup in AGOL and Enterprise.&amp;nbsp; This layer now won't display the popup in the new map viewer or in dashboards.&amp;nbsp; If I switch to the Classic map viewer, the popup displays without issue.&amp;nbsp; Also, if I publish the layer as a hosted service on AGOL it also works fine.&amp;nbsp; Seems to only be when it is dynamic from our SDE and in the new map viewer.&lt;/P&gt;&lt;P&gt;I've attached 3 images.&amp;nbsp; popup shows what it looks like in Classic Viewer.&amp;nbsp; popup2 shows that when configuring it in the new map viewer, it will display, but if you click on any of the points on the map, no popup displays.&amp;nbsp; poup3 shows a details widget in dashboards showing No Data.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 16:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1285258#M51892</guid>
      <dc:creator>dhaag</dc:creator>
      <dc:date>2023-05-03T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1285371#M51903</link>
      <description>&lt;P&gt;Your example appears to be point related, so may not apply, but I have had similar issues to this in dashboards using SDE data/views.&lt;/P&gt;&lt;P&gt;Turns out AGOL doesn't play well with fields that are not actually part of the feature class (Shape.STArea(),&amp;nbsp;Shape.STLength()) and are added/calculated on the fly when you access them.&lt;/P&gt;&lt;P&gt;When I modified my view syntax to cast them to a different name, all seems to work fine:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;SELECT  OBJECTID, Owner, recnum, Shape.STLength() AS Length&lt;/LI-CODE&gt;&lt;P&gt;rather than:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;SELECT  OBJECTID, Owner, recnum, Shape.STLength()&lt;/LI-CODE&gt;&lt;P&gt;In fact, I had to create the views in order to overcome this rather than just using the feature class itself.&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 19:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1285371#M51903</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-03T19:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1545711#M61817</link>
      <description>&lt;P&gt;It is NOT just points that cause the problems. This is for all geometry types! I have the exact same error with multiple query feature layers (points, lines and polygons) sourcing my SQL server database tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcokin1_0-1728061317900.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116520iAEE1521580C8CD3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcokin1_0-1728061317900.png" alt="jcokin1_0-1728061317900.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Due to the complexity of the tables in our RDBMS and the amount data stored (30+ years) in these tables.... they can NOT be exported and reloaded as simple feature layers within an SDE and must reside as SQL server tables hence the use of the &lt;U&gt;&lt;EM&gt;Query Feature Layer&lt;/EM&gt;&lt;/U&gt; option&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/586121"&gt;@dhaag&lt;/a&gt;&amp;nbsp;&amp;nbsp;or &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;did anyone flag this with ESRI as a bug within &lt;STRONG&gt;Standard Map Viewer&lt;/STRONG&gt;? I see the post is almost a year and half old&amp;nbsp;🤷‍&lt;/P&gt;&lt;P&gt;I have 20+ query feature layers published to portal and no way to access the identify / pop-up results for any of the layers with the new "&lt;STRONG&gt;Standard Map Viewer&lt;/STRONG&gt;" vs "&lt;STRONG&gt;Classic Map Viewer&lt;/STRONG&gt;"( classic works with pop-ups with query feature layers published to Portal).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3072"&gt;@BernSzukalski&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17874"&gt;@RussRoberts&lt;/a&gt;&amp;nbsp;&amp;nbsp;......I am tagging you guys on this as we could use someone from ESRI to see if this bug was ever flagged and has a number or it needs to be cataloged and brought to the AGOL / Portal teams attention.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have only come across this community post that talks about the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 17:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1545711#M61817</guid>
      <dc:creator>jcokin1</dc:creator>
      <dc:date>2024-10-04T17:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1547609#M61904</link>
      <description>&lt;P&gt;Only related bug I reported on this was:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;BUG-000152780 : In ArcGIS Dashboards, unable to use Shape.STLength() field from a map service in Table and Details elements. "Cannot access data" is shown.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 14:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1547609#M61904</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2024-10-10T14:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query Layers or Views don't display popups in New Map Viewer on AGOL or Enterprise</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1687595#M68023</link>
      <description>&lt;P&gt;Ok, the odd workaround that I found was to duplicate the unique ID in the SQL Query but giving it a different name. ex.&amp;nbsp;&lt;/P&gt;&lt;P&gt;select FCode AS RowID, FCode, ...... (plus whatever else is in your SQL statement).&lt;BR /&gt;&lt;BR /&gt;By duplicating the unique ID which in this instance is &lt;STRONG&gt;FCODE&lt;/STRONG&gt; ......from some strange reason the Query Feature Layer when published up to Portal would suddenly work and the pop-up was there in both Standard Map Viewer and Classic Map Viewer for Portal. Hope this helps that next person out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2026 23:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/query-layers-or-views-don-t-display-popups-in-new/m-p/1687595#M68023</guid>
      <dc:creator>jcokin1</dc:creator>
      <dc:date>2026-03-01T23:14:23Z</dc:date>
    </item>
  </channel>
</rss>

