Hi all,
I have uploaded 8 small images in the Composer which will be set in an Image Component dynamically, as a status indicator, using Custom JS.
How to I access these images in the Custom JS and set to the Image component at runtime?
Seems I can only set a static but online URL
Many thanks,
J
For anyone else who is searching for this, I’ve had no response from anyone for a good few weeks now. I managed to find a messy workaround though.
I have all images open on the page, and their respective visibility set to FALSE
. The return from the Custom JS returns an array of true
/false
depending on which status is true - which I then set respectively to each image with a Set Component Property
.
Quite messy - would have liked a tider solution that the framework allows. Doesn’t appear to be one sadly.