2
votes

In VSTO, we can easily update fields of a word document using c# code:

 _wordApplication.ActiveDocument.Fields.Update();

Is there any way to do same job in OfficeJS? I am using OfficeJS 1.4 beta version.

Thanks in advance!

1

1 Answers

2
votes

good question! Not now, we do support custom doc properties and xmlParts so depending on your scenario you might be ok, but Fields is something we are planning to support in the future. Don't forget to vote for this on our user voice channel, there is an existing item tracking doc fields support.

https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/category/163566-add-in-word

thanks.