web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add line break to an i...
Power Automate
Unanswered

Add line break to an iCalendar body

(0) ShareShare
ReportReport
Posted on by 96

I have a Flow trigger that fires when SharePoint list data is added up updated. The Flow actions copies text from a "comments" multiline textbox to a "description" multiline textbox in an 'update SharePoint list' action. The data in the description column is then read by an iCalendar file and printed in the body area of the Outlook event. My issue is that I am attempting to append multiple objects to display in the description field with line breaks. (i.e. 'Comments' + line break + 'LinkURL')

 

The problem is that each object in the series is printed on the same line in a long string. Line breaks and
carriage returns are either ignored or break once inside the iCal body. By breaking, I specifically mean that
all content AFTER the carriage return is stripped out or truncated at the carriage return.

 

The best working example I have (although it does not create a new line) is one that adds a space to allow the "LinkURL"
to act like a linkable hyperlink (otherwise it butts-up against the text preceding it negating the hyperlink).

 

concat(triggerOutputs()?['body/Comments'],'<br/>','<br/>','<br/>',variables('LinkURL'))

 

What I am wanting is a programmatic way to add a line break between the 'comments' and the 'linkUrl'.
If the concatenation method is the wrong choice, please indicate a better solution (please give specific examples).

I have attempted to place the following escape characters in the concatenation expression just as the '<br/>' tags are currently  used, but with no success. These characters are simply printed to the page because they are seen or interpreted as text.
\n
\n\n
\\n
\r\n
<br/>
<p>

 

I have tried adding the following expressions as 'Compose' objects and physically adding them between the 'comments' and
'LinkURL' objects with no success. (i.e. 'Comments' + line break + 'LinkURL')


uriComponentToString('%0A') for line feed
json('{"NL":"\n"}')?['NL']
decodeUriComponent('%0A')

 

Any help is appreciated.

Thank you.

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard