<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>new line</title><link>https://community.appian.com/discussions/f/general/26188/new-line</link><description>Hello, can anyone suggest me how to add a new line in appian? 
 Code: 
 user(loggedInUser(),&amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(loggedInUser(),&amp;quot;lastName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(loggedInUser(),&amp;quot;email&amp;quot;) 
 The output should be: 
 Beast Hulk 
 green.hulk@avengers.com</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: new line</title><link>https://community.appian.com/thread/102746?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 06:35:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:984f885b-acd3-4776-8ed2-124b1f9f5417</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What did the old forms ever do for use .... except a javaScript auto-submit. What a traumatic experience that was! R.I.P&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102712?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 18:52:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f842c17-79e1-4001-9fd7-c4c467e68009</guid><dc:creator>Chris</dc:creator><description>[quote userid="50400" url="~/discussions/f/general/26188/new-line/102710#102710"]AFAIK the last place I knew of where char(13) was added to input text was in the paragraph field component of the legacy tempo forms (*shudder*), and anyone who doesn&amp;#39;t know what i&amp;#39;m referring to, count your blessings and keep on walkin&amp;#39; (trust me).[/quote]
&lt;p&gt;Haha, amen!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102710?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 18:39:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0672297f-9c45-4c46-9edf-0b8ddcb98de6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;char(10) versus char(13) is a little more confusing IMHO.&amp;nbsp; to me the winner is char(10), as the use and the treatment of char(13) is highly inconsistent.&amp;nbsp; from what I&amp;#39;ve found over the years (and through the fuzzy memory filter a bit here), some elements return char(10) + char(13) when a line break is entered, and other places only insert a char(10).&amp;nbsp; in almost all cases that i&amp;#39;ve seen, char(13) is ignored upon rendering, at least in modern SAIL forms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AFAIK the last place I knew of where char(13) was added to input text was in the paragraph field component of the legacy tempo forms (*shudder*), and anyone who doesn&amp;#39;t know what i&amp;#39;m referring to, count your blessings and keep on walkin&amp;#39; (trust me).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102709?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 18:36:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6beb56c0-6fac-45b0-8e91-b15088e19e3c</guid><dc:creator>Chris</dc:creator><description>[quote userid="50400" url="~/discussions/f/general/26188/new-line/102707#102707"]&amp;quot;the email&amp;quot; refers to the email &lt;em&gt;address&lt;/em&gt; in the text output he initially describes, not an actual printed-out email[/quote]
&lt;p&gt;Ah, that could very well be the case.&amp;nbsp; We&amp;#39;ll see (hopefully), at least we have all bases covered &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;..except maybe if there is a preference in Appian between:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;char(10)&lt;/strong&gt; - Line Feed&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;char(13)&lt;/strong&gt; - Carriage Return&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I had started with char(13) initially and have kept using it, since it works and the results are the same.&amp;nbsp; Maybe this is the new index() vs property() debate&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102707?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 18:14:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b2b8603-951a-4383-a227-a98f87b0d682</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="2401" url="~/discussions/f/general/26188/new-line/102706#102706"]this will not evaluate in the Send Email service [/quote]
&lt;p&gt;Except he didn&amp;#39;t specify this was for output in an email.&amp;nbsp; I had to do a double-take at the comment &amp;quot;the email is not printing on a new line&amp;quot;, but from the evidence I can gather, &amp;quot;the email&amp;quot; refers to the email &lt;em&gt;address&lt;/em&gt; in the text output he initially describes, not an actual printed-out email.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102706?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 18:12:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b3f268b-dfcb-49b3-86bc-8fb9f3b25275</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Switch to &amp;quot;&amp;lt;br/&amp;gt;&amp;quot; to apply line breaks in an email rendered as HTML.&lt;/p&gt;
&lt;p&gt;Also I&amp;#39;m assuming your use of loggedinuser() is a placeholder, since this will not evaluate in the Send Email service as the system is performing the send, there is no user logged in at this time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;concat(
  user(loggedInUser(),&amp;quot;firstName&amp;quot;),
  &amp;quot; &amp;quot;,
  user(loggedInUser(),&amp;quot;lastName&amp;quot;),
  &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;,
  &amp;quot;&amp;lt;br/&amp;gt;&amp;quot;,
  user(loggedInUser(),&amp;quot;email&amp;quot;)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102705?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 17:41:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1fc511db-d5bd-4abe-8e1d-1c7f993b091c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;you would need to switch expression editor&amp;#39;s output to &amp;quot;Raw&amp;quot; mode to correctly see the linebreaks created by char(10).&amp;nbsp; That&amp;#39;s why I specified a read-only Paragraph Field on an interface, as this would also display correctly there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102704?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 17:39:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d28a9b17-b533-4a6b-bb75-7b5502ca691f</guid><dc:creator>kumare6978</dc:creator><description>&lt;p&gt;I am trying to execute it on expression editor and by using char(10), the email is not printing on a new line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: new line</title><link>https://community.appian.com/thread/102703?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 17:37:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab0a60f8-8d30-4efa-abf9-73c71cd7b0d2</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It depends on where you are trying to have this output appear.&amp;nbsp; If, for example, you&amp;#39;re showing it in a read-only paragraph field on an interface, you can simply insert a linebreak character ( &lt;em&gt;&lt;strong&gt;char(10)&lt;/strong&gt;&lt;/em&gt; ) anywhere you want a linebreak.&amp;nbsp; If your use case is something else, though, the answer is probably different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>