Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-16-2022, 11:58 PM
Peterson Peterson is offline Content controls bound to custom XML not updating Windows 10 Content controls bound to custom XML not updating Office 2019
Competent Performer
Content controls bound to custom XML not updating
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default Content controls bound to custom XML not updating

I'm pulling my hair out over content controls repeated multiple times across a template, bound to a custom XML part, that are neither updating properly nor in the same manner when I test with copies of the same template.



Template Details
  • The template is set up for Different First and Different Odd/Even pages.
  • There are eight content controls, all bound to a custom XML part.
  • All CCs are plain text, except one date picker.
  • Except for two CCs on the first page, all are in headers/footers.
  • Seven of the eight CCs appear on every page (one CC isn't on the first page).
Problem Details
  • When I enter data into all CCs on a single page, i.e., all entered via an Odd or all via an Even, all CCs correctly populate all other instances in the file. BUT...
  • With one version of the template:
    • In the Even Page Footer, which has three CCs, when I populate them, the THIRD one populated does NOT update elsewhere in the document.
    • Changing the order in which I add text doesn't yield a different result: it's always the last one that doesn't update elsewhere.
    • In a First Page Footer, which has five CCs, when I populate them, the FIFTH one does NOT populate in elsewhere in the document.
  • With another version, which is simply a copy of the prior, I get the same behavior, EXCEPT in the Odd Page Footer, the fifth of five CCs DOES update elsewhere.
  • With yet another version, again, simply a copy, all three of Even Page Footer CCs populate elsewhere, but the fifth of five CCs in the Odd Page Footer do NOT populate.
  • And with still another version...everything works as it should.
In the screenshot, the header/footer content is nearly entirely CCs. "EPH" means the CC was filled in in an Even Page Header; "FPF" is "First Page Footer"; "OPF" is Odd Page Footer. The numbers are the fill-in order. Each of the three shots is based on a different copy of the same template.

I'm at a loss -- any light you can shed on the problem would be greatly appreciated.

If it helps, and you're so inclined, you can easily view the XML with OOXML Tools, a Chrome/Edge extension that allows you to drag the template into your browser and view the package; no zipping.

Thank you.
Attached Images
File Type: png 2022-12-16_22-38-34.png (54.8 KB, 15 views)
Attached Files
File Type: dotx 31-2 CC Testing.dotx (65.1 KB, 6 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best method to have multiple sets of bound content control in a document VGW Word VBA 2 07-12-2018 12:15 PM
Macro to save docx to doc that checks compatibility and converts content controls to static content. staicumihai Word VBA 4 10-12-2016 08:23 PM
Content controls bound to custom XML not updating Word XML Content Controls for custom XML output Daedalus Word 1 11-26-2015 01:38 PM
Content controls bound to custom XML not updating Updating an old form with Content Controls Something Anon Word 4 03-26-2014 03:53 PM
Content controls bound to custom XML not updating Content Controls Sammie0Sue Word 6 11-06-2013 10:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft