Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

New line for each Sharepoint list value in a "multiple lines of text" column

(1) ShareShare
ReportReport
Posted on by 98

Hi all,

 

I built a flow that reads a Sharepoint list and sends the information via email. The problem in this case is a column of type "multiple lines of text". I can't get a line break for multiple entries.

Flow is processed successfully, but without line breaks. The values ​​are written one after the other.

 

My Flow:

vipfafen_0-1720771746592.png

Affected value: "Aktive Zugriffspakete"

expressions i tryed:

- concat(item()?['AktiveZugriffspakete'],decodeUriComponent('%0A'))

- item()?['AktiveZugriffspakete'],decodeUriComponent('%0A')

 

vipfafen_1-1720771836740.png

Sharepoint List:

- ist well formated

vipfafen_2-1720772138384.png

 

Mail Output:

- there are no line brakes

vipfafen_3-1720772254253.png

 

I would be very grateful for suggestions

 

Regards

  • vipfafen Profile Picture
    98 on at
    Re: New line for each Sharepoint list value in a "multiple lines of text" column

    ok, it's fixed. In my case placed this...

    replace(body('Create_HTML_table'),decodeUriComponent('%0A'),'<br>')

    ...directly in "Compose -add CSS".

    vipfafen_1-1720820222903.png

    Thank you @ManishSolanki, Problem is solved. Is less of a problem and more of a gap in my knowledge...

  • vipfafen Profile Picture
    98 on at
    Re: New line for each Sharepoint list value in a "multiple lines of text" column

    Hi and thank you @ManishSolanki

     

    now i have my new lines for each eantry, thank you! But my "Compose -add CSS" is gone. 

    vipfafen_0-1720819624417.png

     

    How to bring back my CSS?

     

    Regards and Thank you one more time @ManishSolanki 

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: New line for each Sharepoint list value in a "multiple lines of text" column

    Hi @vipfafen 

     

    Please revert the changes in "Select" action i.e.

    item()?['AktiveZugriffspakete']

    In the email where you show the table using its output, use the below expression:

    replace(body('Create_HTML_table'),decodeUriComponent('%0A'),'<br>')

     

    Here is an example:

    ManishSolanki_0-1720793181737.png

     

    Output:

    ManishSolanki_1-1720793215215.png

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • vipfafen Profile Picture
    98 on at
    Re: New line for each Sharepoint list value in a "multiple lines of text" column

    Hi @ManishSolanki,

     

    thank you for you replay. The Mailoutput looks like that:

    vipfafen_0-1720791605167.png

     

    it's not what i'm expected, but close

     

    Regards

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: New line for each Sharepoint list value in a "multiple lines of text" column

    Hi @vipfafen 

     

    Pls try replacing line feed '\n' with <br> html tag using the below expression:

    replace(item()?['AktiveZugriffspakete'],decodeUriComponent('%0A'),'<br>')

     

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492