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)