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

Notifications

Announcements

No record found.

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!

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 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,331 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans