Skip to main content

Notifications

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
    LeoAlt 16,329 on at
    RE: Help with Word Document Templates that use FetchXML for Complex Data Retrieval

    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

  • sandiquiz Profile Picture
    sandiquiz 5 on at
    RE: Help with Word Document Templates that use FetchXML for Complex Data Retrieval

    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
    LeoAlt 16,329 on at
    RE: Help with Word Document Templates that use FetchXML for Complex Data Retrieval

    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

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans