cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

 

Desktop version of MS WordDesktop version of MS Word

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

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.

View solution in original post

Anonymous
Not applicable

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

9 REPLIES 9
v-lin-msft
Post Prodigy
Post Prodigy

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.

 

Anonymous
Not applicable

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

 

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.

Anonymous
Not applicable

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

 

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.

Anonymous
Not applicable

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

Anonymous
Not applicable

Has this issue been logged with Microsoft Support?

Huyngo
New Member

Hi,

 

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

 

Cheers

rt5
Regular Visitor

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,772)