Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Producing word docs and only pulling data that is populated on the entity

Posted on by Microsoft Employee

I am trying to produce a word document from a custom entity where only the data that is populated passes onto the word document. I can't think of a way to populate the page with only the data that has values and have an indicator on the Word Template as to what the data refers to. In the example below I have created a word template with an indicator for what each row is but what I need is pull this dynamically and only show data that has a value like the row that shown below for Administrative. Is there a way to accomplish this?

Capture123.PNG

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Producing word docs and only pulling data that is populated on the entity

    Yes,

    workflow is able to generate, but it will attach in the record's notes

    community.dynamics.com/.../how-to-auto-generate-word-templates-using-a-simple-workflow-and-oob-action-in-crm-2016-no-code

    but you have to create multiple word document, you have to judge is it worth it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Producing word docs and only pulling data that is populated on the entity

    Thank you for the quick response. Do you think it would be possible to use a workflow (action) with conditional statements to produce a document as described above?

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Producing word docs and only pulling data that is populated on the entity

    Hi,

    Unfortunately, this is one of the limitation of word template.

    https://ranjeetpatel.wordpress.com/2017/02/25/limitations-of-microsoft-dynamic-crm-word-templates/

    community.dynamics.com/.../255802

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

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans