office-js

File types (mime types) issue in Outlook web addin using Fabric UI

霸气de小男生 提交于 2020-03-21 06:40:56
问题 I am working on an Outlook Web Addin using Fabric UI framework. Im using Fabric UI Core without React or AngularJS. I am facing an issue in getting File Types (MIME types) icons. Whatever references I found online for File types in Fabric UI are for React framework. Is there a way to get file types in Fabric UI with plain Javascript without React? I found the following links where file types are available: https://spoprod-a.akamaihd.net/files/fabric/assets/item-types/16/csv.svg https:/

File types (mime types) issue in Outlook web addin using Fabric UI

余生长醉 提交于 2020-03-21 06:40:47
问题 I am working on an Outlook Web Addin using Fabric UI framework. Im using Fabric UI Core without React or AngularJS. I am facing an issue in getting File Types (MIME types) icons. Whatever references I found online for File types in Fabric UI are for React framework. Is there a way to get file types in Fabric UI with plain Javascript without React? I found the following links where file types are available: https://spoprod-a.akamaihd.net/files/fabric/assets/item-types/16/csv.svg https:/

Is there a way to use Excel.run() inside Custom Function?

北战南征 提交于 2020-03-05 06:09:11
问题 As a result of my Custom Function I want to fill few worksheet cells, taking cell that the function was invoked as a base cell. I have to return some complex data, that wouldn't fit in one cell. So the question is: is there a way to use Excel.run() inside the Custom Function? Or is there a way to return more complex data (objects, array of objects) as the return value of Custom Function? This is simple example of what I'm trying to do, but it doesn't work: /** * Adds two numbers. *

makeEwsRequestAsync not returning callback on MacOS Outlook2016

蹲街弑〆低调 提交于 2020-03-03 16:41:10
问题 I'm using makeEwsRequestAsync to get email "Body", "Subject", "MimeContent" . But in case of MacOS Outlook2016 when the email size is more than 1MB the callback method is never called after the call is made to makeEwsRequestAsync() . In case of email having size less than 1MB the callback is called with proper result. I know in case of more than 1MB email size there will be an error with the message Response exceeds 1 MB size limit. Please modify your EWS request Also, the same code is

Approved Excel addin missing from Mac store

谁说我不能喝 提交于 2020-03-03 10:19:28
问题 Our Excel add-in was approved by Microsoft several months ago, and it shows as expected in the Windows and Web versions of Excel. However, we cannot get it to show on ANY Mac version of Excel. To reproduce: Within Excel for Mac, go to the Insert ribbon tab and select Get Add-ins . The store dialog pops up. Search for "MyEducator". The dreaded "There are no add-ins matching these criteria" shows up. If you try the same search on Excel for Windows, the add-in shows up just fine. We have been

microsoft office onSend feature does not allow to send mail if dialog is opened through displayDialogAsync API

≡放荡痞女 提交于 2020-02-29 08:38:05
问题 I am trying to implement On Send feature in outlook Add-in. All prerequisite are done. It is working fine as normal scenario as mentioned in the documentation.But for my case the requirement is this: If the Body contains any 'Block Word' I want to show to the user a Dialog box (using displayDialogAsync API) with two options 'Continue' and 'Cancel'. Without dialog box it allows to send Mail but with dialog it is not working. var mailboxItem; Office.initialize = function (reason) { mailboxItem

Unable to get POST request working in Excel custom functions

帅比萌擦擦* 提交于 2020-02-06 06:40:09
问题 We are currently implementing custom functions in our app, and have been unable to get POST requests working. What we have tried : POST using fetch (exact function works in latest Chrome) POST using axios, and transpiling down (exact function works in latest Chrome) Adding and removing cors() middleware on our backend expressjs server Are we missing an implementation detail? I read something brief about simple CORS, but wanted to reach out to see if there was a piece we are forgetting. 回答1:

Excel Custom Functions suddenly stopped working on local

こ雲淡風輕ζ 提交于 2020-01-25 06:41:12
问题 Excel Custom Functions very suddenly stopped working on my localhost (after a long period of working flawlessly.) All apps (our custom, as well as the starcount tutorial) now fail with the following error: "This add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again." Additionally, at the bottom of the worksheet I get: "We're starting the add-ins runtime, just a moment..." and it never goes away. Attempts to resolve Deleted all custom functions

Office API Javascript - Loading error telemetryproxy.html not found

≯℡__Kan透↙ 提交于 2020-01-24 20:18:26
问题 I tried to load Office.js to my application. I've added the <script src="https://appsforoffice.microsoft.com/lib/1/hosted/Office.js" type="text/javascript"></script> and I get warning and error in console. Warning: Office.js is loaded outside of Office client and Error: o15apptofilemappingtable.js:11 GET https://telemetryservice.firstpartyapps.oaspapps.com/telemetryservice/telemetryproxy.html 404 (Not Found) I created app.js contains: Office.initialize = function (reason) { $(document).ready

How to clear client side browser cache for Excel 2016 Task Pane add-in on Mac?

旧时模样 提交于 2020-01-23 18:17:06
问题 This is a follow-up to a previous question where the answer to "How do I ensure I see the latest JS code in my Task Pane add-in" involved controlling the client side caching behavior via server-added meta/no-cache tags (or versioning the server resources). However, I am looking for a manual way, on the client , for the end-user to clear out the client side cache that appears to be storing JavaScript files and preventing an updated JS file on the server from being used by the Task Pane add-in.