Dynamic image on button, label or image media

Hi

Using Servoy Default components, I so far could set the property «imageMedia» for a label dynamically by readying the image from database (solutionModel.getMedia(…)).
How can this be achieved with Bootstrap Components like Label, Button or Image Media?

Thanks and regards
Birgit

Hi Brigit

styleclassexpression might be what you are looking for.

see: https://wiki.servoy.com/display/DOCS/NG … patibility “Onrender implementation”

Hi Jo

Thank you for your response and the “Grüsse”.

I don’t see, how styleclasses can be dynamic, since I have to define them at development time. What I’m looking for is a possibility to attach any image (from database) to a component. Or am I missing the point?

Best regards
Birgit