Substituting line breaks in email template

In the app, if I was wanting to display a list of items, each item on it’s own line, I would do the little trick of:
substitue([list] , " , " , "
")
Basically, substituting a line break, for every comma.

This does not seem to work in an workflow email template. Does anyone know how I can do this?

Additional related question: How can I insert HTML code into a workflow template? Trying to use angle brackets, <>, results in them being displayed, via HTML code of “&lt” and “&gt”. I’m thinking that I want to substitute an HTML “br” line break for each comma in this specific case.

Edit: funnily enough, HTML br code produces an actual line break in this posting, hah!

Thanks

Solved Solved
0 23 4,701
1 ACCEPTED SOLUTION

Thank you very much for that hint Marc. This was the solution.
I even didn’t need an extra VC.
In my template I added a Table and put in the expression:

<<Start:SELECT(OriginalTable[Key] , IN([Key],[_THISROW].[list]))>><<Label>><<End>>

Now I get a nice Table in my PDF. And by setting the table border to white and 0 pt, I will get just a List with line breaks

View solution in original post

23 REPLIES 23
Top Labels in this Space