How to show images on html body conditionally?

0
I want to show different images on the mail body according to the conditions , is that possible to do that in mendix?
asked
2 answers
1

Hi Sudhanshu,

 

Please try with CKE editor widget. It will help you to upload images.

answered
1

Hi Sudhanshu,

you can do that for that you want to write your code in the format of HTML in the microflow activities itself in the form of if else condition based on your requirements and the images wants to be passed in the format of datasource code with the help of <img src:datasource:””> formats in the same way you can design your whole template in the microflow activity itself and you can pass that particular activity variable to the HTML body and in the email templates you can just return that activity in the form of placeholder it will work.

hopw this information helps you.

answered