cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically set source of image UI

Former Member
0 Kudos

Hi Experts

I have multiple image mimes linked to my WD component and I have only 1 image UI on my view.

I want to dynamically set the source of the image UI to one of the mimes based on certain criteria.

How do I dynamically set the source of an image UI?

thanks in advance

Anton Kruse

Accepted Solutions (1)

Accepted Solutions (1)

saravanan_narayanan
Active Contributor
0 Kudos

Hello Anton,

You need to create a context attribute and bind it to the source property of the image and then populate the value of the context attribute with the MIME image name dynamically.

BR, Saravanan

Former Member
0 Kudos

Lovely, thanks.

Answers (0)