Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Word Template with Dynamics XML Content Control fields not updating inside DisplayBarcode field

Posted on by 40
I have created a great Word Template with Dynamics 365 XML content controls to generate a digital library card example, with fields such as name, and card number. 
 
However, these content controls only work update when used as text. This is using the normal Dynamics 365 process of downloading a Word template, and the creating the document in Word before uploading back to Dynamics 365.
 
I am trying to use the Word field { DisplayBarcode } to make the card number appear as a QR code or bar-code. When a Dynamics 365 field is placed inside this field, only the field name is shown inside the field, instead of the value.
 
I have read in some old threads about workarounds using custom tools, but I'm also aware that Content Controls should work inside fields, so I'm hoping that someone may have the solution with out of the box tools.
 

For example, this Word template for a library borrowers' card:

Name: [BorrowerName ContentControl]

Borrower ID: [CardID Content Control]

{DisplayBarcode /[CardID Content Control] QR}

Will display this when opened with XML mapping data from Dynamics 365:

Name: John Citizen

Borrower ID: ABC123

QR Code with data /CardID Content Control/ (text of field name, not desired value of ABC123)

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