Select to view content in your preferred language

Dynamic Image not changing when View for Empty Selection set

412
6
05-07-2025 09:51 AM
AndreaRoskelley
Emerging Contributor

I have built a site with experience builder and it displays attribute information about an asset and an image (that is stored as an attachment), when the item is selected in the map panel. I set the View for Empty Selection so that there isn't just a blank page when nothing is selected, but now when I select different points on the map the dynamic image is not changing. It only changes if you unselect the point and then reselect it. But the text is changing without any issue. I have it set to look at the selected image. When I don't set the View for Empty Selection the picture changes without any issues. Any ideas on how I can get the image to change dynamically and still have the View for Empty Selection set?

Here is the link to the site.

https://experience.arcgis.com/experience/3f83a09c2eb24a57a70253739c582637/page/Details 

Thanks,

Andrea Roskelley

6 Replies
TonghuiMing
Esri Regular Contributor

@AndreaRoskelley, this looks like a defect, and we will look into it further. Thanks for bringing this up and providing the sample app details.

MelissaSullivan
Occasional Contributor

Hi @TonghuiMing, I'm having an issue in my app that I also see on the one Andrea linked to. After clicking a point on the map, the dynamic content briefly flashes the empty selection view before showing the content for the point actually selected. (When testing on public wifi, it shows the empty selection for over a second.) I first noticed this issue this week after changing my source data but no attempts to eliminate this lag have worked. On my app, I also have a feature info panel which allows users to scroll through the records, and that works without an issue.

Is there a way to address this? Thanks!

0 Kudos
TonghuiMing
Esri Regular Contributor

@AndreaRoskelley @MelissaSullivan 

This is basically because, when you change the record, the text reflects the update immediately since it shows the record info itself, but the attachment needs extra requests to display the updated image. There is some time lag between these two, and thus, this defect. We will address this and probably for the next upcoming release. 

Sorry for the inconvenience, and thanks for your help.

0 Kudos
MelissaSullivan
Occasional Contributor

@TonghuiMing Thanks for the response. The issue I'm having (and that I see on the above app) actually affects both the text and picture. The dynamic content defaults to point A when the app is opened, and the issue is not apparent when changing from point A to point B. But when clicking point C while point B is selected, the dynamic content will first show point A's content before showing point C's.

Is this the same issue that you mentioned will be addressed? Thanks again.

TonghuiMing
Esri Regular Contributor

Hi @MelissaSullivan, thanks for pointing that out. Yes, these are two different issues.

The original one is a bug, causing the image attachment not to show as expected. Regarding the one you mentioned, it is the current behavior indeed, and we are also aware of it. They will probably not be resolved in the same release since the latter is trickier. We will keep a note of this and notify you when it gets fixed.

Allen_Zhang
Frequent Contributor

Nice horses!

0 Kudos