Skip to main content

Notifications

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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans