Is there any Office.js API to get user input

2019-08-29 00:38发布

问题:

In task pane of our Office.js WORD add-in, we need to get a user input and display in the document. Is it even possible to get user input in an Office.js add-in. If so, is there any Office.js API for that?

回答1:

please check our this article with details on how to do it.https://docs.microsoft.com/en-us/office/dev/add-ins/develop/dialog-api-in-office-add-ins