Select to view content in your preferred language

Experience Builder Pop-Ups Break When Attribute Expressions Are Defined in Map Viewer

445
8
04-02-2026 12:54 PM
TimothyRudzik
Occasional Contributor

ArcGIS Enterprise v11.5 (Portal Map Viewer and Experience Builder)

I am using ArcGIS Experience Builder to recreate a web map that was originally deployed with Web AppBuilder. I’m running into an issue where pop-ups for certain layers fail to display at all in Experience Builder.

After extensive troubleshooting, I’ve isolated the problem to attribute expressions created in Map Viewer. If a layer has one or more attribute expressions defined, its pop-up will not work in Experience Builder—even when the expression fields are not included or exposed in the pop-up configuration.

Removing the attribute expressions immediately restores pop-up functionality. At this point, the only workaround I’ve found is to persist the calculated attributes directly in the geodatabase, which I’d prefer to avoid if possible.

Has anyone encountered this behavior, or is there a recommended workaround that does not require materializing these fields in the source data?

 

 

0 Kudos
8 Replies
NicoleJohnson
MVP

I use attribute expressions all the time so I immediately went to check some of my stuff on 11.5, and I'm not seeing this behavior at all. Maybe it's your code that's the issue?

0 Kudos
TimothyRudzik
Occasional Contributor

Thanks for testing and confirming that this doesn’t reproduce in your environment. That suggests my setup may be an edge case, so I want to be very explicit about what I’m seeing.

Environment

  • ArcGIS Enterprise: 11.5.0 (Build 56755)
  • Map Viewer: New Map Viewer (not Map Viewer Classic)
  • Service type: MapServer
  • Layer structure: Group layer (multiple layers published together)
  • Geometry: esriGeometryPolygon

Observations / Tests

  • I have multiple map services with different attribute expressions; all exhibit the same behavior.
  • Attribute expressions and pop-ups work correctly in Map Viewer and Map Viewer Classic.
  • Any layer that has one or more attribute expressions defined fails to display pop-ups in Experience Builder.This occurs even with a trivial expression such as:
return "Hello World";​
  • The expression does not even need to be exposed in the pop-up; simply defining it is enough to break the pop-up in Experience Builder.
  • Only the layer with the expression breaks the pop-up. Other layers and sub-layers still have functioning pop-ups. 
  • I created a brand-new Experience Builder app from a blank template to rule out app corruption. The behavior is unchanged.
  • I also added my map created in Map Viewer to a Web App Builder app and the layers with attribute expressions still have functioning pop-ups.
 

Based on this, the issue does not appear to be related to expression complexity or syntax, but rather the presence of attribute expressions created in Map Viewer when consumed by Experience Builder.

 

 

 

0 Kudos
NicoleJohnson
MVP

Have you checked the bug repository? (I'm not immediately finding anything that sounds similar, but maybe you'll see something. FYI I tested feature services.)

0 Kudos
TimothyRudzik
Occasional Contributor

I reviewed the bug repository but did not find an issue that closely matches the behavior I’m experiencing. I’ve also done additional testing to rule out some common variables.

  • I published a new MapServer service that is not a group or multi-layer service (as I had seen reports suggesting those could be problematic). The behavior did not change.
  • I created a brand-new web map pointing to this new service, and the behavior still persisted.
  • I then built a new, simplified Experience Builder app using only the new map and new service. The issue continues to occur with no change in behavior.

Summary for context:
Any MapServer service—whether it contains a single layer or multiple layers—that has any attribute expression defined will cause pop-ups to fail completely in Experience Builder. This happens regardless of how simple the expression is, and regardless of whether the attribute expression is actually exposed in the pop-up configuration. There are no browser or developer console errors when this occurs—the pop-up simply does not display.

Notably, the same web map behaves correctly in Map Viewer, and pop-ups also continue to work as expected when the map is used in a Web AppBuilder application. The issue only manifests when the web map is used within an Experience Builder app.

 

 

 

0 Kudos
EMani
by Esri Contributor
Esri Contributor

Hello @TimothyRudzik 

Popups with Arcade expressions can work in Map Viewer on map image layers, but they can also fail in Experience Builder because Experience Builder expects feature‑layer behaviour.
 

$Map profile variable missing when an Arcade expression is defined for pop-ups in the ArcGIS Enterpr...

A workaround is to use both types: Feature Layers? Map Image Layers? Why Not Use Both? Hybridizing Feature Layers and Map Image Layers ...

0 Kudos
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @TimothyRudzik,

Thanks for reaching out. But I couldn't reproduce it. Am I missing something?

MV:

Ke_Xu_0-1775812146912.png

Ke_Xu_2-1775812268423.png

 

 

Exb:

Ke_Xu_1-1775812184856.png

 

Thanks,

Ke

 

 

 

0 Kudos
TimothyRudzik
Occasional Contributor

Ke,

Thanks for the thorough testing and screenshots. I retried this using your very simple example to eliminate as many unknown factors as possible, but I continued to see the same behavior.

Out of curiosity, I then tested the app in a different browser. The pop-ups failed in Chrome, but worked as expected in Microsoft Edge. To dig further, I described this Chrome-vs-Edge behavior to Gemini AI. One of its suggestions was to clear the Service Worker cache in Chrome.

After clearing the Service Worker cache, the issue was resolved and the pop-ups now work correctly in Chrome as well. These were the instructions it gave me for clearing the service worker cache....

Clear the "Service Worker" Cache

ArcGIS Enterprise and Experience Builder use Service Workers to cache app logic for speed. Sometimes, a "stuck" script in the cache prevents the pop-up logic from firing.

  1. Open your ExB app in Chrome.

  2. Press F12 to open Developer Tools.

  3. Go to the Application tab.

  4. On the left, click Storage.

  5. Click Clear site data (this wipes the cache specifically for your Portal URL).

  6. Refresh the page and try the pop-up again.

 

 

0 Kudos
Ke_Xu
by Esri Regular Contributor
Esri Regular Contributor

Hi @TimothyRudzik

I’m glad you found a solution. If you still experience cache issues after using the app multiple times, I would recommend creating a support ticket for this.

 

Thanks,

Ke