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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,431)