View Single Post
 
Old 09-16-2021, 07:02 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

None of those CCs are mapped. You also don't have a custom xml file in the document to map them to.

Start by creating an xml (text) file in Notepad with contents like this. Save it to your desktop and include any other element names you need in your real document.
Code:
<?xml version="1.0" encoding="utf-8"?>
<Root xmlns="http://txacoli.test">
    <StaffMember />
    <StaffNumber />
    <WorkingArea />
    <DateOfBirth />
</Root>
Then open your Word document and embed that xml file in the document by going to Developer Tab > XML Mapping Pane. Click on the custom xml part dropdown in the pane to ‘Add a new part’ and navigate to the xml file to load it inside this document.

Next you map the xml elements to each of the Content Controls on the page. Select a Content Control, then in the XML Mapping Pane, while showing that particular xml part, right click on the relevant field and choose to 'Map to Selected Content Control'

Then you can change one of your instances and as your cursor leaves the CC, the other ones linked to the same xml field will update instantly.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote