Skip to main content

Notifications

Microsoft Dynamics CRM forum
Answered

Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

Posted on by 20

Hi,

I need to generate a word template with complex tables which are not in direct relationship with my Primary Entity. 

So I need to get further mapping of second level entity fields.

For example : 

Template created for table "A" => with "A" related to "B" 

And i have "C" related to "B" 

So i need to list all records of "C" that are related to "B"

Can someone suggest whether this is possible or not?

Thanks,

Khawla

  • a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Hello,

    If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"

  • Verified answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Around a month ago Microsoft released the updated version of Report Authoring Extension so now you can use VS2019 to build reports. Here is the post that describes the installation of the Report Extension - readyxrm.blog/.../

  • Khawla-d Profile Picture
    Khawla-d 20 on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Yes, and to use SSRS for dynamics we still need to switch back to VS 2015 to use Microsoft Dynamics 365 Report Authoring Extension.

    As i prefer not to use this OLD version i wanted to try with word template.. unfortunately its functionalities are very limited

    Thank you for your answer

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Hello,

    You can use SSRS report of some of the third party addons available on the market that provides similar functionality. There are plenty of them and you can easily google it.

  • Khawla-d Profile Picture
    Khawla-d 20 on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Thank you Andew !

    so i should not use word template in this case

    maybe i will try with SSRS or is there any other possiblities ?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Word template - Retrieve the data from complex tables, not in direct relationship with the Primary Entity

    Hello,

    It is not possible using OOB Word Template functionality. The functionality works only with direct relationships - so 1:N, N:1, N:N to the current type of record.

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,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans