question

VittorioSchiavinato-8270 avatar image
0 Votes"
VittorioSchiavinato-8270 asked emilyhua-msft edited

How to read and write the custom attributes of a Word 2016 document using Word JavaScript API 1.1?

We are developing an Add-In for Word 2016 using the Word JavaScript API 1.1 libraries, that are supported by Word 2016.

The goal of this Add-In would be to read and write the custom attributes of a Word document.

However, we find no documentation explaining how to achieve this goal.

All the examples we found refer to the "context.document.properties.customProperties" that does not exist in the Word JavaScript API 1.1; it seems to be part of the Word JavaScript API 1.3, which however is not supported on Word 2016 (only on Word 2019 or 365).

So, our question is: how to read and write the custom attributes of a Word 2016 document using Word JavaScript API 1.1?

office-addins-devoffice-js-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@VittorioSchiavinato-8270
As this issue is more related to Word development, I would modify the tag.
Thanks for your understanding.

0 Votes 0 ·

0 Answers