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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (17,525)