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

Community site session details

Session Id : CR6JWNNAQk51/HR2QKJwXl
Power Automate - General Discussion
Answered

Help Line Break populate Word

Like (1) ShareShare
ReportReport
Posted on 12 Aug 2021 22:26:03 by

 Hello first of all thanks for reading. I need help with the following.

I have an application in powerapps and one of the fields is multiline (rich text) I want that when that field is saved a word is filled but with the line breaks included.

example I fill the field like this :

1- Hello

2-How are you

 

And the populate word goes like this 1-Hello 2- How are you. It passes without line break. Some help?

  • Verified answer
    darkestpage Profile Picture
    37 on 13 Aug 2021 at 18:12:42
    Re: Help Line Break populate Word

    @Anonymous 

    Not sure if I have understood your requirement correctly, however, here is an example that you can use. Please note that the flow connectors do not alter the original formatting in HTML. So, if you have list tags in your original HTML, flow retains them. Following is my sample flow;

    1. The original HTML code. It contains formatted list which is similar to bulleted text in word.

    darkestpage_0-1628877973499.png

    2. Convert HTML to text.

    darkestpage_1-1628878089503.png

     

    3. Convert the text from multiline to single line with 'replace', 'concat' and 'split' functions.

    darkestpage_2-1628878216596.png

    4. The final output is;

    darkestpage_3-1628878306670.png

    Hope this helps. If this solves your issue, please accept this reply as 'Solution'.

     

    Regards.

     

  • Community Power Platform Member Profile Picture
    on 13 Aug 2021 at 14:13:14
    Re: Help Line Break populate Word

    But, Look what i Have:

     

    Sharepoint Field (rich text):

    Jovalles_0-1628863907580.png

     

     

    Flow: Field in blue

     

    Jovalles_1-1628863974379.png

     

     

     

  • poweractivate Profile Picture
    11,078 Most Valuable Professional on 12 Aug 2021 at 23:47:12
    Re: Help Line Break populate Word

    @Anonymous 

     

    Place this in the expression for each line break / line feed you want:

     

     

    decodeUriComponent('%0A')

     

     

    Use an expression like this

     

     

    concat('Hello',decodeUriComponent('%0A'),'How are you')

     

     

    81221-linefeed-expr.png

     

     

    The result looks like this:

     

    81221-linefeed.png

     

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2