Questions tagged [office-js-helpers]

A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs

A collection of helpers to simplify development of Office Add-ins & Microsoft Teams Tabs (from https://github.com/OfficeDev/office-js-helpers)

113 questions
0
votes
0 answers

Getting "Wait until the previous call completes" error while writing data to excel using office.js from Task pane application

Actual Issue: After getting the latest updates from windows we are getting “Wait until the previous call completes” error for Office.js ( api method: Office.context.document.bindings.addFromNamedItemAsync). Most of the users who are using this…
Sai Kumar
  • 308
  • 2
  • 10
0
votes
0 answers

Office-js-helpers OAuth2 authentication using Okta?

I'm trying to implement a custom endpoint for using in our Outlook add-in. I'm following this article. Does anyone know how to implement this correctly? I have this code but it does not work (yet). What do I need to fill in inside 'clientId'? …
Ferry Kranenburg
  • 2,625
  • 1
  • 17
  • 23
0
votes
0 answers

How do I get the Word Text Effect property through the add-in API?

I am trying to write a Word add-in (Javascript) leveraging the Word add-in API and I have hit a roadblock. I cannot seem to find the property for the Text Effect of a letter or a word, it does not seem to be in the FONT Can anyone help? These are…
0
votes
1 answer

Select the Title- and Text area with the Office JavaScript API in PowerPoint

I am trying to develop a basic Web Add-In for PowerPoint. What I want to do is to select either the Title Area or the Text Area from within the Office JS API, and then paste some text into these areas. However, I can't find anything on it in the…
Motta23
  • 77
  • 5
0
votes
1 answer

jsonwebtoken package fails to verify user Office.context.mailbox.getUserIdentityToken result

I'm developing an Outlook web add-in. I'm trying to verify a token that I'm passing to server side, through a node.js library, but it's failing and I can't understand why. This is what I'm doing to retrieve the user identity…
0
votes
0 answers

Error 13008, token has already been requested

I am using Office.JS. I use getAccessTokenAsync to retrieve a token to exchange it for a resource token. But for some reason (I have this problem on Wi-Fi connection), I get the error code 13008 and message 'Please try that operation again after the…
J. Doe
  • 21
  • 1
  • 5
0
votes
1 answer

office javascript add-in ribbon standard commands like copy or cut

We have add-in where we create ribbon with standard buttons like copy,paste etc and then add our own buttons for managing the format of document. We are developing it in office-js add-in. Can the same functionality achieve AFAIK I cannot but would…
Manoj
  • 39
  • 2
0
votes
1 answer

Debugging an Office.js desktop add-in: Where is the shortcut menu for the add-in

Following last section of this Official tutorial on debugging an Office.js Add-in, talks about the Reload button on the shortcut menu of the add-in during debug mode of an Office.js Add-in project in VS2017. But I do not find that Reload button…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
0 answers

In Office.js add-in, an html page in a default browser is not opening

Per this suggestion from a Microsoft employee, I tested that the following code in Home.js file successfully opens a URL (html page) in a default browser if URL is defined. But if url is left blank, it gives following message by my Windows 10…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
1 answer

Can we store a value in Office.js Add-in for a later use?

In earlier Office integration solutions, we were using COM or VSTO add-ins that run only on Office for Windows. In our VSTO add-in for WORD we were using SQLite database to store some values that we could change in future. Now we want to re-write…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
2 answers

How can we display data in a browser from Office.js API?

As explained in this SO post, using JavaScript/JQuery, we can convert .docx files to html. We need to display this html in the default browser. In our Office.js add-in for WORD, we can get an html from WORD document but we are not sure how we…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
1 answer

Using NodeJS server instead of local IIS server in building an MS Word Add-in in Visual Studio

In this Official Word Add-In tutorial, they are using VS2017 where they indicate that they are using local IIS server. I want to follow the exact same tutorial but instead use NodeJS server. How can I achieve this? NOTE: I've successfully created a…
nam
  • 21,967
  • 37
  • 158
  • 332
0
votes
2 answers

Create excel work book using bytes using Excel.js API

We have started a new feature to our product where user can interact through excel plug-in to use some of the product services. we opted of using Excel.js. Following is one of the main feature which is important to us and didn't find in the Exceljs…
madireddy
  • 107
  • 3
  • 13
0
votes
0 answers

Token errors using msgraph-sdk-javascript with office-js-helpers authenticator

I have an Outlook add-ins using React + TypeScript, debugging locally with Node.js. I'm using the office-js-helpers library to authenticate and the msgraph-sdk-javascript Graph client library. As a POC I'm simply trying to verify that I can…
0
votes
0 answers

Office js Dialog issue in Excel 16.13

I was using the following function from Office js library to display a Excel dialog - Office.context.ui.displayDialogAsync(startAddress, options, callback) On closing the dialog box programatically and trying to open it again , it is showing the…