Is There A Way To Bind Word Content Controls To A Custom Xml Part Using Office-js?
I'm pretty new to the Office.js/Word.js features. Trying to determine if there is there a way to bind Word content controls to a custom XML Part using the current feature sets for
Solution 1:
there is no API to directly do this, however you can achieve it using OOXML insertion. Make sure to get the OOXML that has an XML mapping and the insert the OOXML using range.insertOOXML(ooxml, "replace") option. (contentcontrol.insertOoxml(ooxml, "replace") will also work.
Post a Comment for "Is There A Way To Bind Word Content Controls To A Custom Xml Part Using Office-js?"