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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Populating MS Word doc...
Power Automate
Answered

Populating MS Word document with multiple line column

(0) ShareShare
ReportReport
Posted on 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

 

Categories:
I have the same question (0)
  • v-lin-msft Profile Picture
    728 on at

    Hi @Anonymous,

     

    I have made a test on my side and didn't happen like you said, can you share the screenshots of the data format in your SharePoint and your flow configuration?Annotation 2019-05-20 151047.pngAnnotation 2019-05-20 150049.png

     

    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 at

    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

     

  • v-lin-msft Profile Picture
    728 on at

    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 at

    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

     

  • Verified answer
    v-lin-msft Profile Picture
    728 on at

    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.

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    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

  • Community Power Platform Member Profile Picture
    on at

    Has this issue been logged with Microsoft Support?

  • Huyngo Profile Picture
    8 on at

    Hi,

     

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

     

    Cheers

  • rt5 Profile Picture
    24 on at

    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.

  • Gaurav Goyal Profile Picture
    10 on at

    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)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard