Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5XsUaAV7MoY05B3dLxV7U2
Power Automate - General Discussion
Answered

Populating MS Word document with multiple line column

Like (0) ShareShare
ReportReport
Posted on 20 May 2019 01:47:25 by

Hi All,

 

I've been using the Microsoft word connector to create Word documents using data from a SharePoint list. I like how it works, it is easy to use and I've been able to populate my documents and save them to a document library...great!

 

The only problem I have is with multiple line columns. When I open the document in the online version of MS Word everything looks good, but when I open it on the desktop version or when I print it, it doesn't take the line breaks of the text and put all in one continues line instead! (see images, it is actually the same document), which makes the whole thing useless for what I need.

 

Any idea of what I can do?

 

Thanks!

Online version of MS WordOnline version of MS Word

 

Desktop version of MS WordDesktop version of MS Word

 

  • Community Power Platform Member Profile Picture
    on 19 Jun 2023 at 07:45:16
    Re: Populating MS Word document with multiple line column

    @rt5 It works perfectly ! Thank you !

    thierryxuuuu_0-1687161045768.png

     

  • Gaurav Goyal Profile Picture
    8 on 25 May 2023 at 11:48:00
    Re: Populating MS Word document with multiple line column

    Now we have option to use Multiple line or paragraphs. You need to enable one property of control in Content Control Properties

    "Plan Text Properties" - Allow carriage returns (multiple paragraphs)

  • rt5 Profile Picture
    22 on 12 Aug 2022 at 08:06:52
    Re: Populating MS Word document with multiple line column

    You need to ensure the plain text box has the option checked in its properties i.e. click on the plain text box then in Developer-> Properties-> “Allow carriage returns (multiple paragraphs)” ensure that is checked, then it will accept multiline and display the paragraphs and blank lines.

  • Huyngo Profile Picture
    6 on 21 Jul 2021 at 02:42:30
    Re: Populating MS Word document with multiple line column

    Hi,

     

    I fixed this by allowing carriage returns in the Plain Text Content Control.

     

    Cheers

  • Community Power Platform Member Profile Picture
    on 08 Jul 2019 at 22:25:48
    Re: Populating MS Word document with multiple line column

    Has this issue been logged with Microsoft Support?

  • Verified answer
    Community Power Platform Member Profile Picture
    on 22 May 2019 at 03:06:38
    Re: Populating MS Word document with multiple line column

    Thanks @v-lin-msft for your help.

     

    looking at what you did, I decided to try something different, so instead of using the new Microsoft Word connection  I tried the approach that WonderLaura proposed in this link

    https://wonderlaura.com/2019/01/09/microsoft-flow-quick-parts/

     

    This option seems to work better, even the dates are populated in the original format (dd/mm/yyyy) which is great!

     

    Thanks

  • Verified answer
    v-lin-msft Profile Picture
    728 on 22 May 2019 at 02:25:27
    Re: Populating MS Word document with multiple line column

    Hi @Anonymous,

     

    No, I hasn't use content control parts in the document, so I suggest you cancel the template if it is not necessary.

    But I see that your template does not simply wrap the text, and you want to enter each line of text into the specified blank space.

    Plumsail has released a new action called Merge DOCX:

    https://plumsail.com/docs/documents/v1.x/flow/actions/document-processing.html#merge-docx

    The action doesn't appear automatically, so you had to create a custom connector as outlined here: https://plumsail.com/docs/documents/v1.x/flow/create-custom-connector.html?highlight=custom%20connec...

    It even allows the ability to merge multiple Word docs into one, which is exactly what we were looking for. You can have a try with it.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on 21 May 2019 at 22:41:48
    Re: Populating MS Word document with multiple line column

    Thanks @v-lin-msft, but it's still not working. I can see that when the word document is created it takes the line breaks (see image 1), but then it doesn't show correctly on the document (image 2).

     

    Are you using content control parts in the document to be populated? (image 3)Image 1Image 1

     

    Image 2Image 2

     

    Image 3Image 3

     

  • v-lin-msft Profile Picture
    728 on 21 May 2019 at 03:09:24
    Re: Populating MS Word document with multiple line column

    Hi @Anonymous,

     

    Yes, I am the same as you. In the SharePoint column of word content, there are multiple lines of text. What you need to do is to change the extension of word to .doc instead of .docx in the action of create file.Annotation 2019-05-21 104809.png

     

    Annotation 2019-05-21 110827.png

     

    Annotation 2019-05-21 104622.png

     

    You can try it again later and I hope it will help you.

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on 20 May 2019 at 22:11:08
    Re: Populating MS Word document with multiple line column

    Thanks @v-lin-msft  for the reply....I'm using the MS Word connector to populate the document and the SharePoint connector to create it and save it in a doc library. all that seems to work well though.

     

    The column's setting in the image is for one column, but it does the same for all my multiple line columns. 
    wordflow.png

     

    CLSA column.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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard
Loading started