I recently began an investigation project on the Microsoft Word Populate Word Template feature, for this example we used a list of recipes.
On my investigation one of my challenges was to see how dynamic we could make a template. Using the repeating section control we were able to populate tables dynamically which was crucial for the investigation. In a following step we wanted to list items inside a table using a similar method.
For this test we used tried to list ingredients inside a column, inside this column we created a 1x1 table which we also set up as a repeating section. The final result looked like this:
The end result filled all fields but the Ingredients column correctly:
On the flow itself this is what we are doing in order to fetch the ingredient details:
And after all is fetched for an item I'm appending to the following array:
My overall question is if this approach is feasible. If so, what am I doing wrong?
Solved! Go to Solution.
Hi @Anonymous,
It's unfortunate that repeating section control inside another repeating section control is not supported on Populate word template currently.
As a workaround, you could use join() function or action to convert the "Ingredient" array into a string separated by ";"
For Example:
join(["Soda","Rum","whisky"],";")
it will return "Soda; Rum; whisky"
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.
Hi @Anonymous,
It's unfortunate that repeating section control inside another repeating section control is not supported on Populate word template currently.
As a workaround, you could use join() function or action to convert the "Ingredient" array into a string separated by ";"
For Example:
join(["Soda","Rum","whisky"],";")
it will return "Soda; Rum; whisky"
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.
Yes that was my alternative.
On a similar matter, is it also impossible to place images inside repeating section controls?
Hi @Anonymous,
As far as I know, images are not supported inside repeating section controls.
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.