cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClementAutomate
Regular Visitor

Populate two or more tables in a Word template

Hello, i'm currently using the "Populate a word template" action and my template has two different tables to populate.

Is there a way to fill my second table ? 

I don't want to use any HTML.

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @ClementAutomate ,

 

If you want to populate two different tables in word, just construct the arrays of the corresponding structure of the word tables as a parameter.

 

I've made a test for your reference:

 

vbofengmsft_0-1665123627222.png

 



vbofengmsft_1-1665123627227.png

 



vbofengmsft_2-1665123627234.png

 



vbofengmsft_3-1665123627235.png

 



please note:

vbofengmsft_4-1665123627245.png

 



vbofengmsft_5-1665123627249.png

 

vbofengmsft_6-1665123627253.png

 



vbofengmsft_7-1665123627255.png

 

Best Regards,

Bof

 

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @ClementAutomate ,

 

If you want to populate two different tables in word, just construct the arrays of the corresponding structure of the word tables as a parameter.

 

I've made a test for your reference:

 

vbofengmsft_0-1665123627222.png

 



vbofengmsft_1-1665123627227.png

 



vbofengmsft_2-1665123627234.png

 



vbofengmsft_3-1665123627235.png

 



please note:

vbofengmsft_4-1665123627245.png

 



vbofengmsft_5-1665123627249.png

 

vbofengmsft_6-1665123627253.png

 



vbofengmsft_7-1665123627255.png

 

Best Regards,

Bof

 

ClementAutomate
Regular Visitor

Thank you very much , it's working for me now !

Do you know if there is a way to delete a table in the word output if the data provided by the sharepoint is empty (nothing in the array)? 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,794)