Download presentation
Presentation is loading. Please wait.
Published byAgnes Watts Modified over 9 years ago
4
OneDrive
11
mailbox.makeEwsRequest( ); Message forwarded by ExchangeEndpoint retrieves attachments App in Outlook
13
Outlook APP Exchange App Backend App requests attachment metadata, callback token and EWS URL via JS APIs
14
Outlook APP Exchange App Backend App passes attachment id, token and EWS URL to its backend
15
Outlook APP Exchange App Backend App backend calls EWS to get attachment
19
Outlook APP Launch OAuth Azure AD App Backend SP
20
Outlook APP Launch OAuth App’s redirect html page App Backend SP
21
Outlook APP Launch OAuth App’s redirect html page App Backend SP
22
Outlook APP Launch OAuth App Backend SP Azure AD 1. Exchange for refresh and access token 2. Call SP with access token
31
User Identity Token Make EWS requests Settings User Profile
32
Get/set/add recipients or attendees Get/set the subject
33
Add file or item attachments
34
Prepend to the body Overwrite current selection in body
35
Get/set start or end time Get/set location Get/set/add attendees
36
Saved on the sent item Can be used to mark a composed message (eg “Tracked” in CRM)
37
ReadWriteMailbox ReadWriteItem ReadItem Restricted
40
Book Workspace Address Book Bob Costas Jane Smith John Doe
42
Newsletter Approval Select documents for approval:
44
Sponsored by
47
var item = Office.context.mailbox.item; item.to.setAsync(“john@contoso.com”); item.subject.setAsync(“Hello”);
48
var item = Office.context.mailbox.item; item.body.setSelectedData( “ Hello! ”, { coercionType : ‘HTML’ }); item.body.prependAsync(“Hello World!”);
49
var item = Office.context.mailbox.item; item.addFileAttachmentAsync( “http://myurl.com/attachment.jpg”); item.addItemAttachmentAsync(“EWS item id”);
50
var item = Office.context.mailbox.item; var now = new Date(); item.start.setAsync(now); item.location.setAsync(“My office”);
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.