Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Word Template Content ...
Sales forum
Suggested answer

Word Template Content Control Fields Not Repeating

Posted on by 218
I have created a MS Word template, however I am having problems with the content control field not repeating.
 
The template has been created against the account entity. The 1:N Relationship is as per the screenshot:
 
 
I have created a table in Word and have pulled in the correct contact fields as plain text into the table, I want all contacts at the account to show in a list, I have followed the MS Learn instructions and have highlighted the entire row with the fields in it, right clicked in the right hand pane in Word on /contact_Customer_accounts/ and clicked on /Insert Content Control/Repeating/ however when I upload the template into the account entity area in D365 and run the template against an account record which has multiple contacts linked to it, nothing appears in the table in Word its just blank, any ideas of what I am doing wrong?
 
Categories:
  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Word Template Content Control Fields Not Repeating
    Hi Partner,
    Did that answer your question?
    Any updates? Please feel free to ask me any questions you may have!
    If someone answered your question, can you check this box to mark that response as an answer?
    ​​​​​​​
     
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Word Template Content Control Fields Not Repeating
    Hi Partner,
    1.Make sure the correct fields are populated.
    The field from this reationship() is 'Company Name' in contact entity, which is customer type, so you can select account or contact into it.
    -In the form, the field show as 'account name', you can select value from account or contact.
     
    2.Ensure that the relationship chosen is the right one
    Account and contact are related through many OOB relationship.
    You should ensure that they are related through 'company name' field if you want to show value in the word template.
    Check this field value of these contacts related to current account.
    3.Edit word template correctly:
    1)Add fields firstly:
    2)Select the entire table row in the template,right-click the relationship containing the content control fields, and then click Repeating.
    Test Result:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans