office-js Questions

2

Solved

I'm working on an Excel add-in using the JavaScript APIs to build add-ins in Excel 2016. The problem I have is not to place the url/link in the cell - I rather want to make this url clickable (as ...
Kioto asked 30/6, 2016 at 14:40

1

Solved

My project involves parsing a word document to extract a set of tokens then allowing the user to selectively perform bulk actions on those tokens. Because of the UI step, I need to be able to call...
Oosperm asked 21/2, 2018 at 17:54

3

Solved

I'm creating an Office 365 add-in for Outlook. I want my add-in to run automatically when user reads email (opens it in reading pane). My current version displays add-in name in top of mail body a...
Esquibel asked 2/10, 2015 at 11:52

1

Solved

Previously my add-in worked well in different browsers. Recently, in some browsers it does not load well (error messages in the console + just shows a blank page in UI); in some browsers it loads, ...
Fluctuation asked 31/12, 2017 at 13:32

1

Solved

We have run in to, what seems like, a bug in Office.js on Office for Mac. If you attach an event handler to DocumentSelectionChanged event that calls Excel.run the standard Excel "undo" functiona...
Irritable asked 19/5, 2017 at 1:22

1

How do I get the author or title of a Word document using Office.js (1.3)? I read the documentation on documentProperties but I need an example to get the syntax right. Help appreciated!
Overplay asked 26/9, 2017 at 15:34

0

We're getting lots of Office JS API errors in Application Insights, but they don't have a stack trace. All that we have - The browser's same-origin policy prevents us from getting the details of th...
Thoron asked 19/9, 2017 at 7:22

0

I'm working on a Office.js Word addin but document is stored on group drive. How can i get either or all of group id , drive id and item id for current document Related question is here But solu...
Kinakinabalu asked 18/9, 2017 at 8:42

1

I have an application by mean-stack that hosts a website and an Excel add-in. html5 is enabled, and it has <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></scri...

1

Solved

This question is based on a previous question I asked but with a bit more detail and experience since. First some background, I have an Outlook Addin that should forward a users message and then m...

2

Solved

In Outlook Web Add-In, I'm trying to intercept OnSend event which is triggered when sending an email. I used this example in GitHub which is working fine. If I include the word "attachment" in t...
Skillet asked 3/8, 2017 at 15:55

1

I have a mean-stack website. I want to use ExecuteFunction to bind a button to launch this website in a Dialog box: function doSomethingAndShowDialog(event) { clickEvent = event; Office.context....
Dieselelectric asked 1/8, 2017 at 17:58

1

Solved

Is it possible to tell either in the XML file or through OfficeJs if the add-in can use the REST API or if it needs to use the older EWS API? We have an Outlook add-in that needs to support OWA/O3...

1

Solved

I want to add a button under the tab of my add-in, and clicking on the button should open a URL in a new window or Dialog box. I tried the follows: <Group id="Contoso.Tab1.Group2"> <Labe...
Korten asked 29/7, 2017 at 11:34

1

Solved

I'm trying to send POST Ajax request for third party service from my Outlook Add-in, but no matter what I tried I receiving Error: Access is denied, and status 0 (request never hit the server). A...
Rerun asked 25/7, 2017 at 16:6

2

I couldn't find way to install office js api using npm. Can you please let us know the name of the office js package. Currently I am referencing it from index.html thru this link https://appsforo...
Spiceberry asked 11/12, 2016 at 12:41

0

Note Edit with relevant code snippets I have run into an odd issue where I get into a infinite redirect loop when issuing a router.navigate. Setup I use the hash location strategy and the app i...
Lubeck asked 23/6, 2017 at 10:56

3

I cam trying to get the following information from the task pane app (Office Add-ins): User information ie. username, email address Filename of the current open document I'm currently developin...
Repression asked 28/3, 2016 at 11:22

2

Solved

I would like to add to my Excel add-in a mechanism to keep track of the last user who performed certain action and the date it was performed. Is it possible to get information about the user curren...
Toady asked 5/5, 2017 at 20:16

2

I'm currently implementing an Outlook Add-in. It shows the user a pop-up window whenever the user is about to complete a potentially dangerous action, to protect against clickjacking attacks. I wa...
Lionize asked 27/4, 2017 at 20:32

4

I am currently developing a MS Word Office Addin using the JavaScript interface provided by Microsoft. I made a test implementation using a Django backend, where everything worked fine. However fo...
Caen asked 23/5, 2016 at 10:26

1

Hi Office 365 Outlook team, Our Office 365 add-in specifies the following Content Security Policy: Content Security Policy directive: “frame-ancestors ‘self’ outlook.office365.com outlook.offic...
Blueness asked 7/4, 2017 at 21:19

1

I have created a macro in VBA. I want to call that macro on click on button in Task Add-in button. Is there any way to run macro using button provided in Task Add-in panel?

0

In an Excel add-in, right after closing a dialog created using displayDialogAsync, you cannot edit the cells in the worksheet. If you click anywhere else outside the worksheet (ribbon, task pane, e...
Uganda asked 23/3, 2017 at 0:48

1

Solved

Currently, I use the following code to listen to the change of Sheet1!A1:B2: function addEventHandler() { Office.context.document.bindings.addFromNamedItemAsync("Sheet1!A1:B2", "matrix", { id: "m...
Forkey asked 13/3, 2017 at 16:25

© 2022 - 2024 — McMap. All rights reserved.