office-js

How to create new tab with buttons in word 2016

十年热恋 提交于 2019-12-06 16:21:58
问题 I am new to office 365. I have developed one taskpane add in (testaddin) for word 2016 using javacript api. In word 2016, I want to create new tab (testtab) and add a button to it . On clicking that button, i need to display my testaddin in taskpane. I have got sample manifest file here. https://github.com/OfficeDev/Office-Add-in-Commands-Samples/tree/master/Word. After downloading files where to place the manifest file. I already have one shared directory which contains my testaddin manifest

Add excel custom functions to an existing excel add-in - Javascript Api

橙三吉。 提交于 2019-12-06 15:56:45
问题 I have an existing excel add-in with UI (using react) and I would like to add some custom functions to it. When I add the add-ins in separate both work fine but when I try to merge them the custom functions don't appear. I assume that my issue is on the manifest but I'm not sure what is it: I added the custom functions extension point, added the custom functions bit to the resources Urls and ShortStrings and replaced the html source location of the cf to be the task pane html. Here is my

Outlook WebAddin is detected as contextual addin instead of ribbon addin

我的未来我决定 提交于 2019-12-06 15:34:20
问题 We have created Outlook Ribbon Webaddin. It is working as expected(ribbon Addin) and loading in top ribbon place. But for some customer, it is loading as contextual Addin. Manifest URL : https://www.backflipt.com/app/addin/Backflipt-Beta.xml Outlook diagnostics info : {"host" : "Outlook", "platform": "PC", "version": "15.0.0000.0000"} Is there any way outlook configuration affects manifest loading way? Check the below image(blurred for security reasons) : Green color section is the plugin

onSend REST API changes do not reflect in the UI

守給你的承諾、 提交于 2019-12-06 15:28:34
问题 We are using the onSend event to perform some REST API requests that may change and update recipients and the draft item body. However, those changes are not reflected in the UI and when the onSend event is completed while allowing the send event to continue, the draft item is sent without the changes (successfully) made through the REST API. Can this behaviour be confirmed ? and if so, is there a way to force the UI to update before completing the onSend event? We are trying to work around

Find the dirty(edited) cell/cells from excel sheet using Excel JavaScript API

懵懂的女人 提交于 2019-12-06 14:50:32
I am using office 365 and Excel online (Build 16.0.9403.1875). and I am creating Microsoft Excel online Add-ins, using Excel javascript API . How to find the dirty cell/cells from excel sheet using Excel Javascript API . If a cell is edited by value / formula / format, that became dirty. So I need to find, what are all the cells are dirty(edited) from range of cells. For Reference, Please find calculate method in this link . Advance Thanks. There is no Excel JavaScript API that will return the dirty cells, but it's a good idea. Please suggest it at Office Developer Voice . Since Excel doesn't

How to enure the latest JS code is loaded by Task Pane add-in?

寵の児 提交于 2019-12-06 14:40:36
I am running into an issue with my Task Pane add-in when running it in desktop Excel 2016 on the Mac (OSX). I have deployed the first version of the add-in to a web server and successfully inserted a reference to the add-in's manifest into an Excel workbook and can see it working on the client box (the Mac). Then I made a few changes to some JavaScript code in my add-in's "foo.js" and then deployed those changes to the web server. Now when I open the workbook I do not see the behavior I expect from the new version of foo.js, rather the old behavior is seen. What I have tried: On the same Mac,

No event is fired when closing a dialog via ESC

佐手、 提交于 2019-12-06 14:05:28
问题 This issue is occurring using Outlook Web App on OSX. It has been replicated using Chrome, Firefox, and Safari. Scenario UI.displayDialogAsync() is used with the displayInIframe: true option. If a user hits the ESC key, the dialog will close but not trigger Office.EventType.DialogEventReceived . On top of this, the same dialog can not be opened again (probably because somewhere an opened flag is still set to true or something). Expected Behavior The dialog closes and emits an event with error

Office API call to getUserIdentityTokenAsync() returns a null token

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 13:27:34
问题 Our Outlook add-in runs successfully for our production clients except for one specific tenant. With this one tenant, the Office API call to getUserIdentityTokenAsync() returns a null token. Here is what I have determined from reviewing our logs: When they access the addin from the Mac Outlook client, getUserIdentityTokenAsync() returns "Status" = "failed" with error code "9017". When they access the addin from Chrome or Firefox, getUserIdentityTokenAsync() returns "Status" = "succeeded" but

Icons for Outlook addin not updating

不羁岁月 提交于 2019-12-06 11:58:45
问题 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 ribbon. after update: https:/xyz.com/img1 pointing to img2. Ideally, img2 should be visible in the ribbon, right? Is there any cache that needs to be deleted? I have tried restarting Outlook client and desktop, but no change. If I enable the add-in to a new user now, the new image is displayed as an

We couldn't connect to the catalog server for this add-n

◇◆丶佛笑我妖孽 提交于 2019-12-06 11:27:51
I just realized that many add-ins cannot be loaded in Excel Online (Chrome): Does anyone know what's happening? This is a known issue reported through StackOverflow and other channels. We're investigating this as a high priority issue. We'll let you know when the issue is resolved. 来源: https://stackoverflow.com/questions/46670563/we-couldnt-connect-to-the-catalog-server-for-this-add-n