web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Dynamics Word template with multi-level relationships

(0) ShareShare
ReportReport
Posted on by 38

Hi,

I am trying to create a Word template, in this case for the Account entity. I want to create a Word template that includes the Orders of an Account, and for Each Order all the Order Details.

Out-of-the-box, the Word templates only allows one level down to choose from, but this blogpost mentions that it should be possible to create custom XML fetch queries to get more data into the Wordt template. However, I am not sure where to put the custom C# code that is mentioned in the post; does that go somewhere inside the template itself, or is that custom code that has to be registered somehow as a plugin?

Thanks,
Koen

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 52

#2
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 43 Super User 2026 Season 1

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 14

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans