outlook-web-addins

Force Outlook Add-in popup to open with embedded browser

陌路散爱 提交于 2019-11-30 00:53:48
问题 I'm seeing an issue with my Outlook Add-in (running in Outlook 2016) where when I open a popup window using window.open , it sometimes opens in the user's default browser (e.g. Chrome) instead of the browser running the add-in (e.g. the IE11 web view embedded in Outlook 2016). This is a problem because it prevents the popup window from communicating with the add-in, which is necessary for clickjacking protection. Is there a way to force the popup window to be opened in the same browser that

outlook add-in image & files

孤街醉人 提交于 2019-11-29 17:35:11
I try to find solution to my problems but didn't find any where,hope that someone here can save me. I write add-in in JavaScript on VS2015 that encrypte and decrypte body messages. 1. The first problem is with images that the receiver can't see . (Talk about images that copy into the body by "insert picture inline" button) In Compose mode we encrypte the message and then when we decrypte it's works good because the compose mode is a client side and he his recognize the local images . In read mode when user want to decrypte the message and to see the images he couldn't see because the encrypte

Office js Web Addin failing to ExpandDL with soap call

烈酒焚心 提交于 2019-11-29 17:08:11
问题 I'm currently working with an Outlook Web Add-in with Office.js. In this project, we require sending mail merge emails to handle Distribution Lists and Groups. We use the ExpandDL call and our soap request looks like: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org

Access to Outlook RestAPI from an Outlook web Add-in

时光总嘲笑我的痴心妄想 提交于 2019-11-28 13:45:23
I developed an Outlook Web Add-in that is working fine. It's a Taskpane that is available in compose mode of appointments and that collects event's data, adds a few ones and send that all to an API somewhere. What I would like to do now is to subscribe the authenticated user to the Outlook Rest API in order to get notified when the event is deleted. The subscription call should look like this one: POST https://outlook.office.com/api/v2.0/me/subscriptions HTTP/1.1 Content-Type: application/json { @odata.type:"#Microsoft.OutlookServices.PushSubscription", Resource: "https://outlook.office.com

outlook add-in image & files

柔情痞子 提交于 2019-11-28 11:45:01
问题 I try to find solution to my problems but didn't find any where,hope that someone here can save me. I write add-in in JavaScript on VS2015 that encrypte and decrypte body messages. 1. The first problem is with images that the receiver can't see . (Talk about images that copy into the body by "insert picture inline" button) In Compose mode we encrypte the message and then when we decrypte it's works good because the compose mode is a client side and he his recognize the local images . In read

Why Outlook's RoamingSettings object initialized with old values after page re-load/ redirect?

梦想的初衷 提交于 2019-11-28 10:28:10
Precondition: Simple Outlook add-in with one (reload case) or two HTML pages (redirect case). Office.initialize called before any objects access Use RoamingSettings object as per documentation: How to save settings in the user's mailbox for Outlook add-ins as roaming settings Coding: // The Office initialize function must be run each time a new page is loaded Office.initialize = function (reason) { $(document).ready(function () { app.initialize(); var settings = Office.context.roamingSettings; // Get the current value of the 'myKey' setting // let's assume it was set and stored with value

Get custom property set in Outlook Add-In via Microsoft Graph

六月ゝ 毕业季﹏ 提交于 2019-11-28 02:12:29
Let's say I have in my Outlook Add-In (using Office.js) following code running on a compose form of an appointment: const item = Office.context.mailbox.item; item.loadCustomPropertiesAsync((result) => { const props = result.value; const testProp = props.get("my_prop"); console.log("CUSTOM_PROP", testProp); props.set("my_prop", "test_value"); props.saveAsync((saveResult) => console.log("SAVE_CUSTOM_PROP", saveResult)); }); I see, that it actually is saved on the event. And now a bunch of questions regarding those custom properties: But are those somehow related to extended properties? Are those

How to get recurrence data from JavaScript API in office365

会有一股神秘感。 提交于 2019-11-27 16:27:24
I need to fetch recurrence data for appointments like Repeat, From, To fields. In addition, I also need to get daily, weekly, or monthly pattern details for my Outlook office Add-in while it is in compose mode. In an Outlook web add-in when something is not available directly from Office.js library you can try to get access to those data using Exchange Web Services. Fortunately, Office.js provides two ways to access EWS. You can request directly the EWS with a SOAP request from your client app. See method makeEwsRequestAsync in Office.context.mailbox You can get an EWS token, send it to your

Why Outlook's RoamingSettings object initialized with old values after page re-load/ redirect?

北战南征 提交于 2019-11-27 03:38:15
问题 Precondition: Simple Outlook add-in with one (reload case) or two HTML pages (redirect case). Office.initialize called before any objects access Use RoamingSettings object as per documentation: How to save settings in the user's mailbox for Outlook add-ins as roaming settings Coding: // The Office initialize function must be run each time a new page is loaded Office.initialize = function (reason) { $(document).ready(function () { app.initialize(); var settings = Office.context.roamingSettings

How to get recurrence data from JavaScript API in office365

久未见 提交于 2019-11-26 18:39:19
问题 I need to fetch recurrence data for appointments like Repeat, From, To fields. In addition, I also need to get daily, weekly, or monthly pattern details for my Outlook office Add-in while it is in compose mode. 回答1: In an Outlook web add-in when something is not available directly from Office.js library you can try to get access to those data using Exchange Web Services. Fortunately, Office.js provides two ways to access EWS. You can request directly the EWS with a SOAP request from your