Forum Discussion
Word.FieldType.ref support on Word Online
I have an issue in a Word Add-in on Word Online where I'm trying to insert a reference field in insertField method of Range.
I have the same function on Word on Windows, Mac, and Onlineso I need the same result on each environment.
insertField(Word.InsertLocation.end, Word.FieldType.ref, `${bookmarkName} \\w \\h \\t`, true);
I know that Word.FieldType.ref is not supported on Word on Web, but I wanted to ask if there's any ETA on when it will be available or if there's any workaround to achieve the same result as in Desktop?
1 Reply
Currently, `Word.FieldType.ref` is not supported in Word on the Web, and Microsoft has not provided any timeline for when this capability may be introduced. According to the official documentation, field functionality in Word Online is largely limited to read-only operations, in contrast to the desktop clients where full field insertion and management are available.
Word.Field class - Office Add-ins | Microsoft Learn