I want to add field codes using word JavaScript API. I checked the API documentation but I found nothing regarding this. It would be great, if there a possible way to do this through the API.
Yun_Wang
Microsoft
Oct 25, 2024Field.ShowCode is support for Windows and Mac: https://learn.microsoft.com/en-us/javascript/api/requirement-sets/word/word-api-desktop-1.1-requirement-set?view=common-js-preview