I am trying to add dynamic images based on a URL to my app. I have done this before and it worked marvelously, but it is not working now on a new Experience or with the older ones that were formally working.
The short version is this.
I add an image, connect to data, specify the data source, select Dynamic, and then select the field with the image URL. I also have view for empty selection set, etc.
It is not working and, I wish to repeat, it has worked in the past.
Is this a glitch with Experience Builder or has some subtle change been made since last I did this?
Solved! Go to Solution.
Our colleagues did a bit more testing - when we tried to put this URL into the community, it couldn't show either:
Which indicates the server hosting this image (www.nationsonline.org) has a CORS policy or recently added one, which caused the failure to fetch this specific image. You might want to double-check that. Thanks
@ToddFagin, thanks for letting us know. This is a regression from the release. We are working on it.
Hi Todd, can you please provide your app URL? So we can resolve this more quickly.
Here is a link to the one previously working. The space between the state name and population is where the image used to be:
https://experience.arcgis.com/experience/c58da91cd8c940bd98c80cd55435b7db/?draft=true
@ToddFagin the app you shared requires log in. Could you make it public? We can't reproduce the issue in house.
Yeah, we can access the app. Thanks @ToddFagin !
Well, this is very odd - I checked the configuration of your app, and the configuration looks okay. The URL is resolved, but the server returned a 403 error:
We are still trying to figure out what is happening.
@ToddFagin Could you provide more info, like if the same app/data was working last week (before our recent release)? Or is it something similar you tried that worked, but not with this specific URL?
Our colleagues did a bit more testing - when we tried to put this URL into the community, it couldn't show either:
Which indicates the server hosting this image (www.nationsonline.org) has a CORS policy or recently added one, which caused the failure to fetch this specific image. You might want to double-check that. Thanks