cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate IV
Advocate IV

Populate Word template from all SharePoint List Items

Hi,
is there a way to populate a Word document template with all items from an SharePoint list?

Greetings, 
Louisa

7 REPLIES 7
Resident Rockstar
Resident Rockstar

Hi @lr 

In simple terms, yes.

This video will show you how to create the template - https://youtu.be/Zzm965PlYl0?t=354

Instead of using "rich text content control", use "plain text content control" for now.

The principal of populating the template from a button is the same as the list.

You just need to make the template to suit the contents of your list, format the template with tables or labels for your text to suit..

Please give it a go and post back if any issues.

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Resident Rockstar
Resident Rockstar

Hi @lr 

I am just wondering if you have managed to get any further at all?

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Hi @AlanPs1,
it works very fine for one item on a list. But how can i populate a template with all items from my list?
For example, this is my Sharepoint list:
Food     | Ordered

-----------------

Burger   | Yes

Soup     | Yes
Pizza    | Yes

Then I want a document that looks like this, for example: 
Your orders: 
Burger

Soup 

Pizza

How do I configure the flow?

Resident Rockstar
Resident Rockstar

Hi @lr 

I would expect you will need to use an "Apply to each" so that it applies to every item in the list.

 

By all means post a picture of the Flow but generally the above will get all items if using "Get items".

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Resident Rockstar
Resident Rockstar

Hi @lr , I hope you are doing good.

How did you get on, did you manage to use "Apply to each" in order to access all items in the list?

 

If you have found my posts helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


 Hi Alan,

 

The video is helpful. But I've a query. The action- "Populate a Microsoft Word template" is a premium action. I used this action in my PowerAutomate flow as a trial user to generate documents. May I know how long this action will work for the flow?

 

Thanks,

Kunal

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (15,166)