cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Word templates: Is it possible to have a repeating section control inside another repeating section control?

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:

 

lKiWcIP

The end result filled all fields but the Ingredients column correctly:
sRFf3Ot


On the flow itself this is what we are doing in order to fetch the ingredient details:
SEwYN8M

And after all is fetched for an item I'm appending to the following array:
JxxPh5b

My overall question is if this approach is feasible. If so, what am I doing wrong?


1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

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.

View solution in original post

3 REPLIES 3
v-litu-msft
Community Support
Community Support

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.

Anonymous
Not applicable

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

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.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,861)