How to add Line Breaks in the Portal Email Template Section

Document ID : KB000010403
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Some users may want to edit the email templates that Portal provides out of the box. You can simply change the text of the email template by navigating to Site Settings > Email Templates on the dashboard of the Portal. Although there is a limitation; Specially around the idea of paragraphs and line breaks. Since these templates are based off .xml files, you will need to edit the backend .xml files that actually populate the templates on the dashboard. 

Instructions:

1) Navigate to http://<yourportal>/admin?action=list&path=/sitebuilder/content/groups/Emails 

2) Using the 'edit text' icon, open whichever email template you'd like to edit 

3) Insert &#xD;&#xD in the message where the new lines should be (as this is the break character written in XML) 

4) Save and republish the email template you just edited

 

This will now provide line breaks and paragraph spaces where ever you decided to make them.