Office js API setDataAsync not working as suggested in Document
I am devloping a word add in which has usecase to insert Rich Text Format in Binding.My Binding Type is 'Text' and i have also set coercionType as 'Html' still it is not replacing in binding.My host application is word online.Whereas,this is working in word desktop application.But i want it in word online.
Please suggest .
We are have a similar problem:
Word document looses bindings when copied to OneDrive
We have developed a Office Addin that inserts OoXML content into a word document.
This works as expected with Office 2016 Desktop versions.
When we open a document with Word Online the bindings are not found anymore!?
The file is copied therefore 1:1 into OneDrive for Business.
Word Online uses the exact same Add In as Word Desktop.
When we create a new document in Word Online and insert OoXml content here and re-open the file then the bindings are ok.
This is a reproducable bug. Maybe it is also near the other prob and can be fixed!
I am experiencing the exact same issue (which is a very frustrating one). I reached out to MSDN support who ultimately forwarded me here. This is actually a bug and should really be fixed as Office js works as expected in Desktop versions of Word but does not work the same in Word Online.
Here is my MSDN conversation for reference: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/be1de64a-29a0-4225-be71-6c8067cc41a2/word-online-binding-setdataasync-method-not-working-for-html-coerciontype?forum=worddev