Hi,
It's possible to programmatically create databound content controls by creating a CTDataBinding (with a custom xpath) within an SdtRun, which is then added to the doc like mainDocumentPart.addObject(sdt);
The databinding in the resulting DOCX works fine when opened in Word.
However, the XPathsPart does not seem to be updated.
How do I add my XPath to the XPathsPart?
thanks,
pamaneg