Hi Jason,
Currently i am using content control data binding to generate .docx files. The "repeat" function is so powerful . But i encount a strange issue for TOC.
In the code, i set updateFileds true to update the table of contents for generated document. While the content of TOC keeps the value from original xml.
If you open the out document, you manually update the TOC again, the value will be OK.
The code ...