cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KOM_4410
Level 8

Populating MS Word document with multiple line column

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.pngOnline version of MS Word

 

Desktop version.pngDesktop version of MS Word

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-lin-msft
Level 10

Re: Populating MS Word document with multiple line column

Hi @KOM_4410,

 

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.

View solution in original post

KOM_4410
Level 8

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

View solution in original post

7 REPLIES 7
v-lin-msft
Level 10

Re: Populating MS Word document with multiple line column

Hi @KOM_4410,

 

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.

 

KOM_4410
Level 8

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

 

v-lin-msft
Level 10

Re: Populating MS Word document with multiple line column

Hi @KOM_4410,

 

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.

KOM_4410
Level 8

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)planetext.pngImage 1

 

planetext2.pngImage 2

 

planetext3.pngImage 3

 

v-lin-msft
Level 10

Re: Populating MS Word document with multiple line column

Hi @KOM_4410,

 

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.

View solution in original post

KOM_4410
Level 8

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

View solution in original post

Sub
Level: Powered On

Re: Populating MS Word document with multiple line column

Has this issue been logged with Microsoft Support?

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,578)