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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Help with Word Document Templates that use FetchXML for Complex Data Retrieval

(0) ShareShare
ReportReport
Posted on by 5

This would be extremely helpful in our organization but we can't quite figure out how to implement this: https://www.crmsoftwareblog.com/2016/12/word-document-templates-that-use-fetchxml-for-complex-data-retrieval/.

Any help would be much appreciated!

  • LeoAlt Profile Picture
    16,341 Moderator on at

    Hi Partner,

    This blog shows that you should use C# code to add the data you need into word template, you could use custom-workflow or plug-in to trigger the C# code.

    The true purpose of using C# is to get the data you need in XML format and then you could use XPath to bind data within word template.

    So you just need to follow the steps mentioned in the blog and trigger the C# code.

    BTW, this blog is released in 2016 and we don't know if is supports D365 online V9.x, could you kindly share your requirement so that we could find other ways which may be easier for you.

    Best Regards,

    Leo

  • sandiquiz Profile Picture
    5 on at

    The code for the data is actually FetchXML and this does not help me.  What I really need is more detail about how to implement the steps in the article.

  • LeoAlt Profile Picture
    16,341 Moderator on at

    Hi Partner,

    Without the code, the steps will be useless.

    Put aside this article, May I know your requirement about the word template?

    Regards,

    Leo

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

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 71 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans