Andrew Coates Advanced Office add-in Development with Outlook DEV32 7.

Slides:



Advertisements
Similar presentations
Outlook 2013 Web App (OWA) User Guide Horizon School Division #205.
Advertisements

Bringing SharePoint information into Office through Office Apps.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft®Office Outlook Web Access Training: Getting Started
Microsoft Ignite /16/2017 3:41 PM
Services Course Set Up a Student Group Project Participant Guide.
Office 365 Overview. INTRODUCTION TO OFFICE 365 Office 365 is a suite of services offered by Microsoft. Office 365 is the same Office you already know.
Developer vision User mailbox with app manifests Add-in’s Service with app HTML + JS User running Outlook.
GroupWise Tutorial What is GroupWise? GroupWise is an and calendar service (much like Microsoft outlook) for Collin College faculty and staff.
Outlook Web Access (OWA) is a web mail service of Microsoft Exchange; allow users to connect remotely via a Web browser OWA is used to access ,
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft Office 2003 Outlook. Outlook is a mail service of Microsoft Exchange Outlook Outlook is used to access , calendars, contacts, tasks, and.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
OFFICE 365 C&G USER TRAINING. PRESENT BY MICROSOFT SOLUTION ENTERPRISE SECTION.
Microsoft Outlook Web Application (OWA)
Advanced User Guide to Outlook and all its features.
Module 8: Managing Client Configuration and Connectivity.
Microsoft Office Communicator A General Introduction.
Microsoft Confidential Office as a Development Platform Tim Heuer
OneDrive mailbox.makeEwsRequest( ); Message forwarded by ExchangeEndpoint retrieves attachments App in Outlook.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
OneDrive mailbox.makeEwsRequest( ); Message forwarded by ExchangeEndpoint retrieves attachments App in Outlook.
Microsoft Office Communicator A General Introduction.
CDFA Outlook 2003 Course Office Information Technology Services.
Microsoft Office Outlook 2013 Microsoft Office Outlook 2013 Courseware # 3252 Lesson 6: Organizing Information.
Outlook Web App Crash course. Outlook Agenda Login Login Reset Password Reset Password Getting Started in Outlook Web App Getting Started in Outlook Web.
Concepts  messages are passed through the internet by using a protocol called simple mail transfer protocol.  The incoming messages are.
Outlook 2013 & 2010 Lync Messanger. Outlook 2013 Ribbon Navigation Pane Message View Reading Pane Tabs Status Bar.
Exchange 2013 Web App (OWA) User Guide. Table of Contents How to Logon Opening View Navigation Mail Contacts Calendar 2.
Appear in messages and appointments Contextual to current item Cross platform, cross device.
XP Browser and Basics COM111 Introduction to Computer Applications.
Cloud Roadshow. Advanced Office add-in Development with Outlook.
1 Outlook 2003 Information Technology June 17, 2003.
Cloud Roadshow. Getting Started with Office add-ins.
Outlook Web Access (OWA) is a web mail service of Microsoft Exchange; allow users to connect remotely via a Web browser OWA is used to access ,
Technical Awareness on Analysis of Headers.
Andrew Coates Advanced Windows 10 development with the Office 365 APIs DEV33 5.
Extending the 2007 Microsoft Office System User Interface Mike Taulty Developer & Platform Group, Microsoft Ltd
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Agenda App running in Outlook Write once, run everywhere Apps run on Outlook, Outlook Web App, and Mobile Outlook Web App. Standards based development.
ITS Lunch & Learn November 13, What is Office 365? Office 365 is Microsoft’s software as a service offering. It includes hosted and calendaring.
Opportunity Proprietary Development Discoverability Decentralize Distribution Updates/Upgrades Devices/Mobility Internet Ready Behold…I bring the world…
Authored by Frank Hamelly, Microsoft MVP Regional Chapters.
Redmond Protocols Plugfest 2016 Tristan Davis Office Developer Platform Overview Principal Group Program Manager.
Redmond Protocols Plugfest 2016 Sky Liu Build Powerful Add-ins with Excel APIs Program Manager.
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Office 365 Development July 2014.
1/10/2018 9:33 PM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
4/14/2018 4:26 AM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Mail Apps for Office Name Title Company.
Microsoft Ignite /10/2018 3:38 AM
Office Add-ins: Make your solution a native part of Office
5/12/2018 3:54 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Office 365 Developer Overview
Office 365 development CloudRoadShow 5/20/ :25 AM
6/11/2018 4:36 AM Services Course Outlook Live Participant Guide
Office 365 Development July 2014.
Microsoft /26/2018 6:05 PM BRK3044 Integrate line of business services with Outlook on Windows, Mac and web Andrew Salamatov Bharathan Venkateswaran.
The Transition to Modern Office Add-in Development
TechEd /7/ :00 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
9/18/2018 4:42 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
August 17, 2015 J. Boles, J.Burnias and M.Garcia Office 2013
WorkingLife Balance An example ISV scenario 11/14/2018 6:51 AM
Office Add-ins Sudheer Maremanda Program Manager
MEC /23/ :42 PM © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Outlook 2007 & Google Apps Sync
Office 365 Development.
Presentation transcript:

Andrew Coates Advanced Office add-in Development with Outlook DEV32 7

Intro to Mail Add-ins Contextual Activation and Rules Office.js API Outlook Compose Add-ins Outlook Add-in Vision Agenda

Developer vision

Office Add-ins  Built with web standards  Office.js provides interop  Hosted centrally  Almost zero client footprint  Runs where Office runs  Discoverable marketplace Browser Control or iFrame With HTML5, JavaScript, CSS Salesforce.com en-US 300 ReadItem Office.js Web Server

Office Add-ins A new way to build extensions for Office Content Add-in Contextual Mail Add-in Add-in Command Task Pane Add-in

Write once, run anywhere Outlook runs Same Mail Add-in runs in Outlook, OWA and Office mobile clients Development based on activation rules Activation rules run whenever user selects item Activated mail add-ins are added into Outlook UI Designed to be secure Mail apps run in an isolated, sandboxed process Mails apps run with a three-tier permission model Mail Add-ins Require Exchange 2013 or Office 365 Mail Add-in

Mail Add-ins – Up Close and Personal Mail Add-in Body Context trigger Add-in Name

Mail Add-ins require Exchange 2013 Exchange Server hosts users mailbox Exchange Server hosts app manifest files Web server hosts HTML for Mail Add-in Mail Add-in can make callback to Web server Mail Add-in Hosting Web Server Hosts HTML, CSS and JavaScript Exchange Server Hosts mailboxes for users Host Mail Add-in Manifests

Use the Visual Studio project template for Mail Add-ins Developing Mail Add-ins

1. Specify height from 32 to 350 pixels 2. Define activation rules 3. Create UI and style with CSS 4. Write JavaScript to add behavior and business logic 5. Debug using Exchange Server and a valid Exchange account Press {F5} and Visual Studio prompts for server and user mailbox credentials Steps to Implementing, Testing and Debugging

Creating and Testing a Mail Add-in for Outlook demo

Contextual Activation and Rules

Mail Add-ins activate based on rules Rules are defined in the manifest Rules are applied to the selected item in the Explorer or Inspector If conditions are met, the Add-in will be activated and available for use About rules Multiple rules can be combined for complex activation needs Apply logical AND or OR operators Rules can access known entities such as phone numbers Rules can be defined using regular expressions Rule-based Activation

ItemIs A rule that checks the item type (appointment or message) ItemHasKnownEntity A rule to check if the item has a specific type of known entity Activation Rule Types

ItemHasRegularExpressionMatch Defines a rule using a custom regular expression to match the contents of an item RuleCollection Defines a rule composed of multiple rules (combined using AND or OR) Activation Rule Types

Outlook is aware of specific types of entities Items are parsed and scanned for common types of entities Use ItemHasKnownEntity rules to based activation rules on entities Within add-in use API functions getEntities or getEntitiesByType Well-known Entity Examples

Entity typeRecognition condition AddressUnited States street addresses 1 Microsoft Way, Redmond, WA AddressAny SMTP address MeetingSuggestionA reference to an event or meeting Let’s meet next Tuesday for lunch. ContactA personal name related to other entities Steve Ballmer, Microsoft, 1 Microsoft Way, Redmond, WA PhoneNumberUnited States telephone numbers (507) TaskSuggestionActionable sentences in an Please install Office 2013 on my computer. UrlA file name or web address

Office.js API

Outlook Add-in API available through mailbox Accessing the Office.js API for Outlook Item can be cast to one of four different types

getUserIdentityTokenAsync for user validation and SSO Exchange and Outlook.com generate a token via getUserIdentityTokenAsync for EWS (body, attachments) Add-in validates token and maps it to known user id Single Sign On and EWS

Token { "aud" : " "iss" : "nbf" : " ", "exp" : " ", "isbrowserhostedapp":"true", "appctx" : { "msexchuid" : "version" : "ExIdTok.V1", "amurl" : " }

Programming an Add-in for Outlook Using Javascript demo

Compose Add-ins

Add-ins can appear in messages and/or appointments Compose add-ins are across Desktop, Tablet and Mobile Compose Add-ins Activation

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities User Identity Token O365 API requests Settings User Profile

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities Get/set/add recipients or attendees Get/set the subject

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities Add file or item attachments

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities Prepend to the body Overwrite current selection in body

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities Get/set start or end time Get/set location Get/set/add attendees

Use core JS APIs Read/Write recipients Read/Write subject Add attachments Write to the body R/W appointment properties Custom item properties Compose Mail Add-ins capabilities Saved on the sent item Can be used to mark a composed message (eg “Tracked” in CRM)

Creating a Translation Compose Mail Add-in demo

Outlook Add-in Vision

 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

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

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 (Office 2016)

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 (Office 2016)

@OfficeDev StartStart

Continue your Ignite learning path  A Day in an Office Developer’s Life [PRD322] This morning at 9:45am. It’ll be on Channel9  Word, Excel, PowerPoint Add-ins [DEV326] Just happened. It’ll be on Channel9  Outlook Add-ins [DEV327] This was it.  Windows 10 Development with O365 APIs [DEV334] Tomorrow 3:30pm – Central A

Andrew Coates Advanced Office add-in Development with Outlook DEV32 7