cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FelipePanza
Helper I
Helper I

Populate a MS Word template from Sharepoint List Multiline

Hi, is there a way to keep the line break from Sharepoint list when convert to a Word file?

 

I have managed to make a Word table from Sharepoint with repeting table.

 

Skjermbilde 2021-05-08 kl. 18.45.10.png

 

The Output: The Column number 3 should have line breaks like is in my Sharepoint list.

Skjermbilde 2021-05-08 kl. 18.48.37.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
FelipePanza
Helper I
Helper I

I found a solution.

When you are creating a template with content control make sure you edit the properties to:

select Allow carriage returns (multiple paragraphs).

 

This allowed me to keep the line break from sharepoint list with plain text.

View solution in original post

4 REPLIES 4
rrovira
Microsoft
Microsoft

Hello, @FelipePanza!

 

Yes, there are some workaround to get this done. However, the action "Populate a Microsoft Word Template" doesn't do that on its own. I did however found a similar post that might help you with this: https://powerusers.microsoft.com/t5/Using-Flows/SharePoint-Multiple-lines-of-text-column-and-Send-an...

 

Let me know if it helped you keep the break lines in your cell! 

 

Cheers,

Rodrigo

FelipePanza
Helper I
Helper I

Where in my flow should I do this?

 

Compose the multiple lines to URI encoding, a then replace the line break %0A with the desired formatting, such as </br>.

FelipePanza
Helper I
Helper I

Hi can I add a replace expression inside the Select action?Skjermbilde 2021-05-09 kl. 21.14.39.png

FelipePanza
Helper I
Helper I

I found a solution.

When you are creating a template with content control make sure you edit the properties to:

select Allow carriage returns (multiple paragraphs).

 

This allowed me to keep the line break from sharepoint list with plain text.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,437)