hasnayn
hasnayn

Reputation: 356

Update document fields of word using OfficeJS

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!

Upvotes: 2

Views: 747

Answers (1)

Juan Balmori
Juan Balmori

Reputation: 5046

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.

Upvotes: 2

Related Questions