Is there a way to keep the structure of multi-line property content, when using in a marketing email as token?
We store customer request in a customer property (multi-line text). This request sometimes includes list items, sections, … I want to keep when reply to customer, including the original message.
The structure is still avaiable in the propery but gets lost when used in token.
Hi @maxidihg ,
I’m afraid this doesn’t currently seem to be possible with marketing emails - you used to be able to kind of hack around it using a <pre> tag, but I think even that doesn’t work anymore. All formatting tags are stripped from the token. Unless you have a standard format which you could pre-process in a HUBL block looking for certain sub-strings to ascertain the structure (which it sound like you don’t) then I think you’re probably out of luck.
Some discsussion on this topic in this post: Apply line break formatting in to personalisation tokens in email.
Thanks,
Mike
---
Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange ‘Reply’ button!
Hi @maxidihg,
This is now possible
You can create properties and select the property type “Rich text”.
When you edit these on a record, a rich text editor will pop up:
The formatting is kept when the property value is used in a marketing email via a personalization token, see this simple plain-text email I drafted:
Have a great day!
Hello @karstenkoehler ,
This needs to be done manually per record, or is there a way to format through bulk workflows?
How do Rich Text properties work in Reports? I can’t find anything on it