office-js Questions

2

I'm currently looking at converting some legacy vba code into Office-js, and I just wanted some advice on whether the existing code can be easily transferred, as well as whether it would work on bo...
Lamrert asked 17/5, 2019 at 14:21

1

Outlook add-in using offline office.js library downloaded form GitHub is not working when internet is blocked. Office.js library is hosted on a local server. <script type="text/javascript" src=...
Lefton asked 9/5, 2019 at 5:22

0

The use case: We are creating a system which analyses mail content. If we are able to categorize and archive an email based on its content, we want to automatically categorize subsequent emails in...

0

I was using the CDN release of office-js, but had to change to a local version. After this change, it seems Office.initialize is not being run, which means the add-in doesn't work correctly. On the...
Jasisa asked 11/4, 2019 at 11:57

3

I am trying to use the react.js spinner component and I can't figure out how I to hide it once my task is complete. Here is a simple codepen where I am using hidden property. I will set it up to f...
Behan asked 8/4, 2019 at 21:1

2

Solved

I've built an Add-In for Word and would now like to add an option to call a function from it when a user highlights a word and right clicks on it. I've found documentation here on how to modify the...
Meghannmegiddo asked 19/12, 2018 at 3:49

2

I am totally new to NodeJS, Webpack and specially to Outlook Addin. So, I created my Outlook Addin using basic tutorials from https://learn.microsoft.com/en-us/outlook/add-ins/addin-tutorial, all w...
Mentalism asked 14/2, 2019 at 14:3

0

I'm currently working with an Outlook Web Add-in with Office.js. In this project, we require sending mail merge emails to handle Distribution Lists and Groups. We use the ExpandDL call and our soap...

2

Summary: window.Open('') or window.Open('about:blank') works with JavaScript in a normal html file as can be tested here. But it does not seem to work in an Office.js add-in. Details: On my Wind...
Statolith asked 28/10, 2018 at 1:30

2

Solved

I'm working on an Outlook addin using the new Office-JS apis, and in building out the authentication flow, I've found that in the Outlook 2016 for Mac case, the dialog system seems to not work prop...
Ingeingeberg asked 4/3, 2017 at 2:32

1

Using the Visual Studio 2017 C# Excel 2016/2019 Web Add-In template, I'm trying to create a Basic Add-in to "Insert content into Excel spreadsheets [VS option for project]." All my attempts fail i...
Cozza asked 25/11, 2018 at 15:31

3

I am developing/testing an Excel Add-In. I added it to the desktop version using the "shared folder catalog" process outlined here: https://learn.microsoft.com/en-us/office/dev/add-ins/testing/cre...
Lippmann asked 10/1, 2018 at 23:41

0

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 f...
Ryle asked 17/10, 2018 at 2:15

1

Solved

I read JavaScript API for Office and I couldn't find a handler to notify when user select a text in the word document. I am aware that we can copy the selected/highlighted text from document as fo...
Dispense asked 4/9, 2018 at 0:0

0

Since upgrading to Windows 10 we can't get Office Javascript API running offline in Word. We're running Word build 16.0.4639.1000 64-bit. Previously over last year we've been running the Office Jav...
Thumb asked 31/8, 2018 at 6:20

1

Solved

I have an icon for a button in my Outlook add-in. For example, https:/xyz.com/img1 pointing to img1 Now if I update the image after deploying the add-in, the updated image is not loaded in the ri...
Alkoran asked 30/8, 2018 at 11:48

2

Solved

I'm looking into building an add-in for Microsoft Word that would involve creating a copy of the current document. I've found where I can copy an item through the OneDrive API. However, this requ...
Ilex asked 21/4, 2017 at 0:23

3

Solved

Friends, I am trying to call API from Word Add-in and getting "Access Denied" error. I did some research and it looks like "Cross Origin Resource Sharing" is the cause. 1. Web API I am hosting ...

1

Solved

I asked a question regarding submitting add-ins with custom functions 6 months ago. The conclusion at the moment was an add-in that uses custom functions cannot currently be published to the Office...

1

Solved

I am creating an online office add-in for the Word application. I have created an HTML page with some fields like, Name, Address, Mobile etc. On drag and drop of such a field I want to create a Mer...
Gewgaw asked 10/7, 2018 at 7:59

0

Stuck here writing JS code to send out an email via REST within a custom Outlook add-in. Scenario is following report \ \---- another message (item attachment) \ \------- attachment (file att...

1

Solved

I'm developing an add-in and I'm encountering an error. A bunch of stuff is printed to the console, and some of it is: What does that mean? How do I enable that setting?
Loaf asked 21/6, 2018 at 22:52

1

Solved

I am developing a Word 2016 Addin and I have received an error from a client (logged via Sentry) that I'm having trouble reproducing. It occurred in a Dialog window on macOS Sierra 10.12.6 in Word ...
Enceladus asked 31/5, 2018 at 5:53

0

We are building an Outlook addin in which we are trying to do an authentication flow with the following steps: Calls Office.context.ui.displayDialogAsync() to open a dialog with the URL of an OAu...
Sybarite asked 25/5, 2018 at 19:12

1

Environment: Mac 10.12.6, Word 2016 (16.11.1), @microsoft/office-js "^1.1.4" I was wondering if there were any guidelines or best practices in terms of how to use CustomXMLParts in order to maximi...
Fragmentation asked 10/4, 2018 at 23:13

© 2022 - 2024 — McMap. All rights reserved.