Hi,
I want to present items from multi-picklist in mail template in such a way that every item displayed in new line
someone can help me please?
best regards,
Refael
Hi Shira,
This can be achieved using EVAL[] block:
Idea is to convert comma separated picklist values to array and display each value in new line. Following code will do the trick.
Example:
Include following code in "Source Code" in mail template
#EVAL[
var a="{!MultiSelectPickList#value}".split(",").join("<br />");
a;
]
The above code will convert the values of Multi Picklist view in an arraylist and <br> is used to display each value of array in new line.
Regards,
Shiva
Hi Shiva,
The code not helped. I will explain the question better:
I need to present a multi-picklist values in email's body in following form
text...
1. multi-picklist value 1.
2. multi-picklist value 2.
3. multi-picklist value 3.
Regards
Refael