Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans