Question
Bank Of America
Bank Of America
IN
Bank Of America
Posted: Aug 25, 2025
Last activity: Aug 26, 2025
Last activity: 26 Aug 2025 8:42 EDT
New Line Character Issue
We have few fields where we get the data from our upstream for some properties with new line character('\n') containing in it and at the time of case creation it is getting created in multi line only but if we reopen the case and save then the entire message is getting saved into a single line and audit is getting tracked for the same, how can i avoid this issue i want the message in multiple line only
@SaiSowmyaG17260576
This happens because the text is saved or rendered as single-line on reopen. First, make the property type Text (paragraph), not Text (single line). Use a Text Area control in the section (Constellation: set the field to Multiline) and for read-only make sure the template or CSS preserves breaks with white-space: pre-wrap. Normalize line breaks on create/update with a data transform or activity, for example replace \n with \r\n using a simple regex or pxReplaceAll so the DB stores consistent CRLF. If your upstream sends escaped sequences like \n, unescape once before save. For audit/history notes, render line breaks to HTML by using a control that converts newlines to <br> or the same pre-wrap approach. Check any data transforms or “when” logic on reopen/save that might trim or strip CR/LF and remove that. If the clipboard shows multiline but UI is one line, the issue is only presentation fix the read-only view/template and retest after clearing caches.