cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MangoMan09
Helper II
Helper II

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 @MangoMan09,

 

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 @MangoMan09,

 

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

Yes that was my alternative.

 

On a similar matter, is it also impossible to place images inside repeating section controls?

Hi @MangoMan09,

 

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,596)