Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

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

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!

Categories:
  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans