Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Populate Word Template in Flow with (2 level) embedded repeating content control

Posted on by 15

Hello!

I have a word template with 2 Repeating Section Content Control. 1st called accounts 2nd called payments. The 2nd is embedded to the 1st. And the payments contains paymentids what is a Plain Text Content Control.

pastedimage1601637416685v1.png

I have a Flow to get this template and get data from D365 to populate the template like this.

pastedimage1601637980586v2.png

The accountData looks like this:

{
	"accounts": [
		{
			"accountname": "Account1",
			"payments": [
				{
					"payment_id": "pay1",
					"amount": 111
				},
				{
					"payment_id": "pay2",
					"amount": 222
				}
			]
		},
		{
			"accountname": "Account2",
			"payments": [
				{
					"payment_id": "pay3",
					"amount": 333
				},
				{
					"payment_id": "pay4",
					"amount": 444
				}
			]
		}
	]
}

And the result is this

pastedimage1601638200163v3.png

The question is the 2 level repeating thing should work or not? If it should I think I mess up something.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,556 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,625 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans