Select to view content in your preferred language

Dynamic URL to image in List widget

5387
11
Jump to solution
05-25-2021 09:55 AM
VHolubec
Esri Regular Contributor

Hello,

in ExB I have a list widget which uses a data from table layer.

I need to set a image for each item in a list based on combination of fix url, and the attribute of the feature - which changes in time. Is there a way to do so? 

It seems, that Arcade expressions are not supported / even it would be a best option there - to use something like:

"https://server.domain.com/images/" + {attribute} + ".png" 

On a list I see for the image url just an attribute and function - none of them does not handle the example above.

Have someone know if there is any other way I missed? 

Thank you.

Vladimir

Vladimir
0 Kudos
11 Replies
TravisLathrop_topeka
New Contributor

BRILLIANT!!!!!

That did the trick. Thank you so much.  Bravo:)

0 Kudos
AlderMaps
Frequent Contributor

This was very helpful for configuring my list; thank you for posting!

Specifically I needed the gory details on how to use images (in my case just solid color pngs blanketing the background of the list item) dynamically via an expression...voila!

AlderMaps_0-1722286398391.png

AlderMaps_1-1722286412413.png

0 Kudos