Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics 365 Word Template - Repeating Content in Table Header

(0) ShareShare
ReportReport
Posted on by 25

Hi,

I asked a question about using Repeating content controls within a word template to produce reports out of D365 which got answered, however I have found another issue which I seem to not be able to find a way around.

I want to create a table for the report that produces the data for each budget year across the header of the table. So far as I can see, a repeating content control can only be added to an entire row/column/table? Please see images attached as I'm not sure I'm explaining this well:

pastedimage1611239605916v1.png

If anyone has any ideas around this, or if it is at all possible, please let me know

Thanks again

Steve

  • Dynamics 365 Word Template - Repeating Content in Table Header
    Hi @stephen Roberts

      I am facing similar kind of issue, did you able achieve this?
    Repeating different Entity data in same table. if yes please respond ASAP.

    Thanks in advance
  • LuHao Profile Picture
    LuHao 40,874 on at
    RE: Dynamics 365 Word Template - Repeating Content in Table Header

    Hi Steve,

    Sorry for the inaccuracy of my previous answer, I have revised the content of my last post, please check it again.

  • Stephen Roberts Profile Picture
    Stephen Roberts 25 on at
    RE: Dynamics 365 Word Template - Repeating Content in Table Header

    Hi Lu,

    Thanks for responding

    I'm attempting to have the repeating content control in the header of the table, so that the year relating to the budget in the table is along the top. When I insert the content control within one cell, the years are listed only within that cell, while I select multiple cells along the top, or a single column, I get the below error.

    pastedimage1611311903113v1.png

    Thanks

    Steve

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,874 on at
    RE: Dynamics 365 Word Template - Repeating Content in Table Header

    Hi Stephen,

    A repeating content control can be added to an entire row or column, which is you selected.

    We need a table with only two rows , the first row is the header, the seond row is the plain text control.

    Step 1. First select a table cell, then in the XML Mapping Pane, expand the entity, right-click the entity field, and then click Insert Content Control > Plain Text.

    Repeat this step to fill all the cells below the header.

    pastedimage1611565441234v2.png

    Step 2. Select the second entire row, in the XML Mapping Pane, right-click the relationship containing the content control fields, and then click Repeating.

    pastedimage1611565480230v3.png

    Finally, the exported word template will automatically loop the content of the second row to add new rows to form a complete table.

    pastedimage1611565759690v4.png

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans