outlook-addin

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:/

Aws cognito, how to treat request as authenticated if user is found else redirect to sign up page

与世无争的帅哥 提交于 2020-03-05 06:06:13
问题 https://docs.microsoft.com/en-us/outlook/add-ins/authenticate-a-user-with-an-identity-token https://docs.microsoft.com/en-us/outlook/add-ins/validate-an-identity-token I am implementing a simple single sign for outlook add-in. I have a JWT token by the exchange server. I have already validated it. Now I need to check whether the user exists in aws cognito. if exist then I need to treat the request as validated else I will redirect the user to sign up page. I am currently trying a custom

Office 365 Outlook REST API - Office.context.mailbox.displayMessageForm not working on Mac Outlook

送分小仙女□ 提交于 2020-03-05 03:25:48
问题 I'm currently facing an issue with Outlook object model of the API in all versions from v1.1 and higher on Mac Outlook 2016 (V16.15.0 and up). The method Office.context.mailbox.displayMessageForm is not working on Outlook for Mac. On Windows as well as on the online versions everything is working fine. Current situation: I wrote an outlook add-in which creates a new draft of an email (saved in draft folder via usage of EWS envelope) and opens the new draft by using the outlook add-in API

Outlook add-in, Cannot read property 'BeginRequestEventArgs' of undefined

瘦欲@ 提交于 2020-03-02 18:59:46
问题 I've developed a Outlook add in using Visual Studio. My plugin has a button that populates details in the body of a meeting invite and adds a required attendee. This works 99% of the time, however , every so often it gives me the below javascript error Uncaught TypeError: Cannot read property 'BeginRequestEventArgs' of undefined at Sys$WebForms$PageRequestManager$_onFormSubmit [as _onFormSubmit] (ScriptResource.axd?d=JnUc-DEDOM5KzzVKtsL1tUaDDFC8JI9PZoqCKFnH3HicYJzF

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

Ready event in Microsoft Outlook 2010?

ぐ巨炮叔叔 提交于 2020-02-07 07:47:50
问题 Is there an event in Microsoft Outlook 2010 which one can subscribe on, in order to known when Outlook has finished initializing and all components, folders etc. have been loaded? 回答1: Not sure about VSTO but good ol' COM addins get the StartupComplete "event" (via IDTExtensibility2 ) for exactly that purpose. 回答2: Ok, I found out what I needed to do... ... private void ThisAddInStartup(object sender, EventArgs e) { this.Application.Startup += ApplicationStartup; this.Application.ItemLoad +=

Windows Forms and High DPI Screens

末鹿安然 提交于 2020-02-04 04:49:23
问题 I have an Outlook Add In called TMO (http://gotmo.co.uk) which has a Windows Form that is opened on the click of the Help Button in the Outlook toolbar. The problem is that when I use TMO on High DPI Screens such as Surface Pro the form renders very convoluted (see screenshot). However on other laptops the form renders correctly. In fact if I run a test app on Surface Pro from where I load the same form it renders correctly. See the attached screenshots. From my reading so far Windows Forms

Outlook.Store.GetDefaultFolder Outlook is creating strange folders in a new .pst file

懵懂的女人 提交于 2020-02-02 16:29:11
问题 After creating a new .pst file only 2 folders are created with the new Outlook.Store(.pst). Example 1: After you close Outlook and reopen it, several folders are created. Some are standard folders, such as Recycle Bin, RSSFeed, and more. But some are strange and have strange names (with strange characters). Example 2: When I was debugging the routine of my COM Addin I have identified that in Addin's 'Startup' event, there is a code that checks the default folders of the Outlook.Store. The

Determining First-Run of Office Add-In

爱⌒轻易说出口 提交于 2020-01-24 20:06:10
问题 I am currently trying to learn the best practices for developing an Office Addin. I have followed this tutorial from Microsoft to get started. Microsoft guidelines state that you should have a first run experience that explains how to use the add-in. I was wondering what the best method of determining whether or not the addin was loaded for the first time and if it was, how to show a different page? Can different initial pages be set within the manifest, or do I need to use Javascript to