Category "office-js"

Office.js | Desktop excel | restrict user to interact with excel or add-ins pane if dialog is open

I am using office.js to create excel add-ins. I do have requirement to open dialog box from task pane and show task pane content in to the dialog box. To show t

OfficeJs - How to display modal dialog

I am using OfficeJs to create word add-in. In that i want to show modal dialog on click on ribbon button. I have used below API Office.context.ui.displayDialogA

ADD-IN ERROR - This add-in cloud not be started. - CRITICAL

I have notice this error happens for ALL modern Outlook Office Add-ins. Searching the net I can also see that many other Modern Outlook Add-ins are having the

word add-in using OfficeJs

We already developed Excel add-in using officejs with RESTful api with Batching in custom Functions. And we wanted to achieve same in Word add-in hence kindly s

Outlook add-in is showing an empty html content upon first load

I am currently building an office 365 add-in on outlook and upon first load the add in is showing an empty html content like so before the whole add in render c

When a call made to Word.run function, I am getting 'Word' is undefined in word 2016

Issue: Here I am using an word add-in in word 2016. When a call a function which uses Word.run is giving an error as 'Word' is undefined. The add-in file is wor

How to set table width percentage using office js

I am working on Office JS word addin project. I am creating a table with 4 columns. I want to set width percentage to 30%,30%,20%,20% respectively. How can I se

Excel failing to load basic custom functions add-in

First, environment: Excel Version 1905 (Build 11629.20246 Click-To-Run) Connected to Office 365 ProPlus Windows 10 Enterprise 10.0.16299 Build 16299 I've bee

How can I get a list of other users in the current excel sheet?

I am the author of an Excel add-in that loads data from an internal api. What I want to do is avoid having many users run the StreamingInvocations concurrently

How can I get a list of other users in the current excel sheet?

I am the author of an Excel add-in that loads data from an internal api. What I want to do is avoid having many users run the StreamingInvocations concurrently

Excel Add-Ins custom functions not loaded in Excel on-line

Add-Ins custom functions work fine on desktop, but throw a CORS error when loaded in on-line Excel: Cross-Origin Request Blocked: The Same Origin Policy disall

Getting text from the pointer till the end of the document in JS Word api

How can i get the text in range from the current location of the cursor till the end of the file? I use JavaScript Word api.

How can I send an email with my outlook add-in

my friends and I are making an outlook add-in that can take the text from an email in the user's inbox and send it to our email address. the email part of this

How to detect Windows 10 and Office 365 versions in Word JS Add-In

Our Word Add-In (using Office-js), which is still work in progress isn't compatible with IE11. We aren't sure we would like to support that either, certainly no

Validate UserIdentityToken with Javascript

How do i use javascript to validate the token from Office.context.mailbox.getUserIdentityTokenAsync(). Are there any javascript libraries for this?

HTML in OneNote Add-in API

I've created my own OneNote Add-in using Nodejs. I am having two issues. I've searched high and low and haven't found a solution. My add-in adds a new outlin

How to identify the Excel Sheet changed event in office js api?

We have an Excel office js add-in written on angular. It has different functionalities based on the sheet the user is in. When users switch the sheets of excel,

Downloading Email body and attchments in .MSG format in Web Outlook

Is it possible to download email body and attachments in a file in .MSG format in Outlook Web? I am working on an Outlook 365 Web addin and I require to downl

Office JavaScript API: track changes

I'm working on a side project using the Microsoft Office JavaScript APIs and have gotten stuck on something I don't see mentioned in the documentation. Is ther

I couldn't find a topic or hint for creating subtasks or nested tasks in Outlook Task

Is it possible to add a sub-task to Outlook, or do we need an additional addin to do so? I tried to look into it, but I couldn't find any information about it.