Office JavaScript API: Hiding the title of a bound ContentControl -
using office javascript api in ms word, binding contentcontrol using title property. works fine, word displays title, causing confusion end users. wondering if there way prevent title being shown.
current result: contentcontrol displays custom title cc_typo5.
desired result: contentcontrol doesn't display custom title cc_typo5.
that's how content controls work in word, have alternative: have tried making content control invisible? check out code:
word.run(function (context) { context.document.contentcontrols.getbytitle("cc_typo5").getfirst().appearance = "hidden"; return context.sync(); }) .catch(officehelpers.utilities.log); 

Comments
Post a Comment