Loop to populate a MS Word template table

Hello,

I am currently trying to create invoices using the Microsoft Word Template.

The input i have is a json data file which has an array that includes multiple line items.
When I tried to populate these line items in the Word Template TABLE, It wont work unfortunately.

Pleasee see my configurationon make:
image

Here is the MS Word template:
image

could you please let me know the problem?

Thank you in advance :slight_smile:

Hi there,

has the issue/solution here been found since i’m also struggling with looping through arrays or collections with the MS word templates module.

:pray: :wave:

Hey @ARSV_GmbH ,

Yeah i have found a solution, you just need to add a literator for each table item and then followed by an array aggregator to combine them into one array( see screenshot below)

You just need to make sure the array variable name matches with the table variable name

4 Likes

Hey there @Opex_Robot :wave:

Thank you for sharing your solution with us. :pray:

IFY: I marked your suggestion as a solution so other users can find it and use it while dealing with similar troubles.

1 Like

:star_struck: blown away by your instant helpfullness - a 1000thx as we say in Tyrol :bowing_man:
( :see_no_evil: good reminder to work on my own responsivness :sweat_smile: )

have a terrific day :wave:

2 Likes

@Opex_Robot
Hi, can you describe it in more detail?
Iam trying it it many way, but still dont have in the results that I need…
Thanky you!