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?
Is there any Office.js API to get user input
Asked Answered
hello, if you can add more details on your question will be really helpful. An add-in can show an html page (task pane) where you can put controls (i.e textbox) and then you can use the JavaScript API to send that text to the document. you can also show a dialog to the user (check dialog API) . I can tell you more details in the answer if you can clarify your question. thanks! –
Cloy
@JuanBalmori Got it. That's exactly what I was looking for (thank you). You may want to change your comment to an Answer w/ some helpful relevant links, and I will mark it as an answer. –
Ryle
please check our this article with details on how to do it.learn.microsoft.com/en-us/office/dev/add-ins/develop/… –
Cloy
© 2022 - 2024 — McMap. All rights reserved.