office-js Questions

4

Solved

If we load a webpage referencing office.js outside Office client, we will get a warning: Office.js is loaded outside of Office client. This information is useful. Does anyone know if there is an ...
Gong asked 8/7, 2017 at 17:51

1

We are loading a base64 document from the backend and opening it in our Word-addin (using Office JS APIs). We are using application.createDocument(base64) to do so. This causes the Word application...
Emmetropia asked 28/8, 2018 at 0:48

2

Solved

I was upgrading my angular apps which run inside the Share Point office adds in. Currently angular app is using version 14, after I upgrade to angular 15 it works fine. But as soon as I upgrade to ...
Grigson asked 16/10, 2023 at 21:56

6

I have created a SPA mail add-in for outlook365 using durandal framework and using Office365 JavaScript API(office.js). Somewhere in my application I want to use window.history.replaceState functi...
Dafna asked 27/11, 2015 at 9:52

2

I wrote an Excel add-in using the OfficeJS API about a year and a half ago and it has been working until about two weeks ago. It seems like Excel has had an update where I'm now allowed to right cl...
Nairn asked 5/4, 2021 at 18:40

4

Solved

I'm creating an add-in that I to sell using organizational licenses. I have implemented an authentication scheme on the add-in. I'm currently asking for User.Read scope for a sure authenticating ...
Wince asked 18/5, 2018 at 10:48

4

The official version of office.js available here: https://appsforoffice.microsoft.com/lib/1/hosted/office.js It contains the following lines in code: window.history.replaceState = null; window...
Tsingyuan asked 7/3, 2017 at 7:45

2

I'm working on an addin for Excel, the manifest has permission for ReadWriteDocument. I'm adding a handler to Office.EventType.DocumentSelectionChanged Event First time, I insert the addin in Exc...
Thesis asked 5/3, 2016 at 5:8

5

Solved

I am trying to build a SPFx webpart containing a ChoiceGroup. When I set the css style to ms-sm12 the choices are aligned vertical: Show assigned to: o anyone * me o nobody I like them to align ...
Pharisaism asked 1/8, 2017 at 20:46

3

I have developed a word add-in using word javascript api. My Document .docx file is on server and i need to open that .docx document as a new word document on a button click in add-in. Please guid...

3

Solved

Is it possible to place OfficeJS command button to Custom VBA Addin panel built like .xlam file? * I still have hope to mix VBA and OfficeJS
Willful asked 18/7, 2017 at 2:56

3

Solved

I'm creating an outlook add-in and use the OfficeJS API in React app. In there I want to load a specific set of features for the compose mode and another set of features for the read mode. So my qu...
Magistral asked 12/9, 2018 at 11:11

2

Solved

The Office JS has provided the following function in preview, but I couldn't find any example. Here is what I tried but it doesn't seem to work, any idea what I am missing here, since this code in...
Alphonse asked 8/6, 2020 at 13:37

3

I have an exiting VSTO add-in but I want to add a new report that would be SO MUCH BETTER as a little web browser control pop up. Would be ideal to use the Office js api for that. Would also help r...
Comely asked 17/4, 2023 at 18:36

5

I have developed an Outlook add-in which is required to open an authentication dialog before performing a job. I am facing two issues which I think are inter-related. Though the add-in works fine ...
Terisateriyaki asked 13/11, 2020 at 9:46

1

Solved

I am developing an Excel Add-In to list, select, and retrieve an OData source. I'd like to be able to call a macro that opens excels Data / Get Data / From Other Sources / From OData Feed and fills...
Falla asked 31/1, 2023 at 15:8

2

Solved

Is there a standard way to access a C# (or VB.NET) library from an Office 365 Web Add-In? I have a very large VSTO Word Add-In with a substantial amount of code written in C#, so I need to know if ...
Ass asked 27/3, 2019 at 12:12

4

Solved

I am using Angular 4 with Office.js. The project is created by Angular CLI. The code is simple: // declare const Office: any; // With the line above, the app runs perfect Office.initialize = fun...
Gennagennaro asked 24/4, 2017 at 23:24

1

This question is related to Outlook AddIn : How to show console.log with Outlook Desktop?. So, what I want is to have an Add-in that just does some automation with launch events and doesn't use a t...

1

I want to create an Outlook Add-in that doesn't require a task pane, but just performs some automation based on launch events. Is this possible? The yo office generator has an option to only genera...

1

Here I am using Office.js API in Excel add-in. When I export any table or information using Excel add-in, the undo and redo buttons are disabled, and the undo/redo stack is cleared. Thank you in a...

1

Solved

I'm looking to set the "Fit All Columns on Page" print option via the Excel JavaScript API. It's very similar to this question which uses VBA --> How to set 'Fit all columns on one...
Internationalism asked 8/7, 2022 at 21:54

3

There are many contentcontrols in a document and I need to find out a way that the cursor is in which content control so that I will select that control and do the operation accordingly. I think by...
Iain asked 18/4, 2016 at 21:17

8

Solved

I have a question about "console.log" in Javascript Web Office Addins. Currently I am working on Javascript Word Addin and can't troubleshoot it, because I don't understand where the "console.log" ...
Sonorous asked 11/5, 2016 at 14:13

4

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, how can the application know it, so ...
Hustler asked 28/9, 2016 at 20:5

© 2022 - 2024 — McMap. All rights reserved.