Top Banner
32

Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Dec 21, 2015

Download

Documents

Eugenia Patrick
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.
Page 2: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Andrew SalamatovSenior Program Manager

Build an add-in for Outlook reaching over 400 Million users!

3-694

Page 3: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

DATAUSERS

HTML

Developer vision

Page 4: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Let’s build!Platform capabilitiesNew UI entry pointsOutlook ecosystem

Agenda

Page 5: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Build an add-in across Outlook.com, Outlook and Office 365

Page 6: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Outlook add-in platform

Page 7: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Manifest is saved to user’s mailbox

Outlook clients load manifest and display add-ins

Outlook add-in architecture

User mailboxwith app manifests

Add-in’s Servicewith app HTML + JS

User running Outlook

Page 8: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Rule-based activation• Add-ins can appear based on regex match• Based on presence of entities (eg postal address, meeting suggestion)• Based on presence of attachments• Based on type of item

• Extensive JS object model API• Access to core item properties in read and compose• Access to body and attachments• Ability to modify fields and add attachments in compose• Launch native reply and new appointment forms• Ability to set custom properties on items

• Support for SSO

Add-in capabilities

Page 9: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Exchange and Outlook.com generate a token

• Add-in validates token and maps it to known user id

Single Sign On

{

"aud" : "https://mailhost.contoso.com/IdentityTest.html",

"iss" : "[email protected]",

"nbf" : "1331579055",

"exp" : "1331607855",

"appctxsender":"[email protected]",

"isbrowserhostedapp":"true",

"appctx" : {

"msexchuid" : "[email protected]",

"version" : "ExIdTok.V1“,

"amurl" : "https://mailhost.contoso.com:443/autodiscover/metadata/json/1"

}

}

Token:

Page 10: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Page 11: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Page 12: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Token is generated and

returned to Outlook

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Token passed back to add-in

Page 13: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Token is generated and

returned to Outlook

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Token passed back to add-inAdd-in passes token to backend

to validate token and look up user

Page 14: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Token is generated and

returned to Outlook

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Token passed back to add-inAdd-in passes token to backend

to validate token and look up user

If user is not found, add-in backend

requests to have user log in

Page 15: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Token is generated and

returned to Outlook

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Token passed back to add-inAdd-in passes token to backend

to validate token and look up user

If user is not found, add-in backend

requests to have user log in

Add-in pops up a window

and prompts user to auth

Auth Prompt

Page 16: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Single Sign OnMail Server User in Outlook Add-in

Add-inBackend

Token is generated and

returned to Outlook

Outlook requests token

from server Add-in calls getUserIdentityTokenAsync()

Token passed back to add-inAdd-in passes token to backend

to validate token and look up user

If user is not found, add-in backend

requests to have user log in

Add-in pops up a window

and prompts user to auth

Auth PromptOnce user logs in, add-in backend creates

a mapping of uid in token with known

identity

Page 17: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Demo: Explore Outlook add-ins

Page 18: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

New entry points

Page 19: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Add-ins must feel native and intuitive

Leverage UI framework of host client

Entry points must scale gracefully

Write once, run everywhere

Outlook add-in vision

Page 20: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Outlook will highlight regex matches and entities against plain text body

• Clicked on entity or regex match will be passed into add-in

• Add-in is loaded in a hover card experience

Body text highlighting

Page 21: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• 1-click way for users to take add-in actions

• In Outlook desktop, actions are ribbon buttons and can:• Launch task pane• Execute a JavaScript function without showing UI• Dropdown (menu) with different types of buttons as options [coming

later]

• Support backwards compatibility

Add-in commands

Page 22: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Scales with the rest of the ribbon

• Commands can be on default tab, or create 1 custom tab• Up to 6 buttons per group• 1 group on default tab, up to 10 groups on custom tab

• Commands that don’t launch UI can show status messages on the mail item or appointment

Commands UI

Page 23: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Demo: Add-in commands

Page 24: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Function Buttons

Track

Page 25: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Function Buttons

Track

FunctionFile.html//JS code

Office.initialize…

function track()

IE Process

Page 26: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Office Store

Page 27: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Easy access to the Office Store

• End-users can get any add-in from Store

Getting add-ins

Page 28: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

• Go to dev.outlook.com for add-ins documentation and resources

• Request a preview Outlook.com account to test add-ins by emailing us at [email protected]

• Sign up for Office 16 Technical Preview by going to http://aka.ms/joinoffice and build add-ins with commands

Calls to Action

Page 29: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

http://dev.office.com/devprogram

Developer Program Launch

E-mail Newsletters

Free Developer

Subscription

1 YEAR FREE

Free Training

Free Tools Webinars

Page 30: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Call to action

Sign up for Developer Program

Collect your stickers at //build

Check out the express talks

Page 31: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

Improve your Office 365 development skills by enrolling in our specially designed courses in MVA.

Get started with Office 365 Developer Pack.

Try Microsoft Azure for free and deploy your first Office 365 solution today!

Resources

Page 32: Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.

© 2015 Microsoft Corporation. All rights reserved.