Open NataliaKravcheniaTR opened 1 year ago
Thank you for letting us know about this issue. We will take a look shortly. Thanks.
Hi @NataliaKravcheniaTR , thanks for reaching us.
In Word online, we now only support these four types of fields: Addin, Date, TOC, Hyperlink.
@xiaoyuMS, thank you! Do we have any alternatives to insert ref fields in Word Online, for example, use insertOoxml?
@NataliaKravcheniaTR Currently, I don't know a way to insert the ref field. InsertOoxml() may work, but this API doesn't work well on Word Web.
Hi @NataliaKravcheniaTR , for this issue you may ask a new feature request to https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform. Feature requests on it are considered when we go through our planning process.
Thanks.
RichApi.Error - InvalidArgument when call insertField with Word.FieldType.ref in Word Online
Your Environment
Expected behavior
Ref field inserted
Current behavior
Ref field is not inserted. RichApi.Error - InvalidArgument occurs
Steps to reproduce
Provide additional details
The issue is not reproduced in Desktop version The issue is not reproduced for Word.FieldType.date
Useful logs