+ All Categories
Home > Software > Office Command Add-ins – New generation of Add-ins

Office Command Add-ins – New generation of Add-ins

Date post: 16-Apr-2017
Category:
Upload: dragan-panjkov
View: 73 times
Download: 2 times
Share this document with a friend
26
Office Command Add-ins – New generation of Add-ins DRAGAN PANJKOV CONSULTANT, K2 NE, GERMANY MVP (OFFICE SERVERS AND SERVICES) www.dragan-panjkov.com
Transcript
Page 1: Office Command Add-ins – New generation of Add-ins

Office Command Add-ins – New generation of Add-insDRAGAN PANJKOVCONSULTANT, K2 NE, GERMANYMVP (OFFICE SERVERS AND SERVICES)www.dragan-panjkov.com

Page 2: Office Command Add-ins – New generation of Add-ins

AGENDA

Introducing Office add-ins for developersTypes of add-insCommand add-ins development and samples

Page 3: Office Command Add-ins – New generation of Add-ins

DRAGAN PANJKOV

Microsoft MVP – Office Servers and ServicesWorking with SharePoint since 2007Speaking at community events since 2008Speaking at conferences since 2009Consultant at K2 NE (www.k2.com)Previously: PlanB.; Microsoft; LanacoWebsite and blog: www.dragan-panjkov.comTwitter: @panjkov

Page 4: Office Command Add-ins – New generation of Add-ins

New add-in modelOffice add-ins do not “live” on the Office clientCustom code executes in the browser, cloud, or on-premisesAcquire add-ins via centralized location• Add-in catalog (SharePoint or FileShare)• Public store (via submission process)• APIs for manual deployment

1 Intro to the Office add-ins

Page 5: Office Command Add-ins – New generation of Add-ins

Modern add-in development

1 Intro to the Office add-ins

Add-ins

Add-in catalog and store

Vacation request

Event planning

Expense calculator

Learning management

Risk management

Help-desksupport

Products and platforms Services and data

Page 6: Office Command Add-ins – New generation of Add-ins

Demo:Adding your first add-in

Page 7: Office Command Add-ins – New generation of Add-ins

Enabling development scenariosWeb and cross-device readyIntegrate rich web content in Office contentInclude contextual content within Office add-ins

2 Office add-in samples

Pre-Office 2013Extending Office ribbon

COM add-in

Macro VSTO

Office 2013/2016Extending Office ribbon

COM add-in

Macro VSTO

Office add-ins

Document template

SharePoint add-ins

Office add-in samples

http://dev.office.com/Microsoft Confidential

Page 8: Office Command Add-ins – New generation of Add-ins

Anatomy

2 Office add-in samples

Web server

Office Store or SharePoint add-in catalog

Page 9: Office Command Add-ins – New generation of Add-ins

2 Office add-in samples

Content add-inAdd-in that runs within a document content with read/write accessExcel, PowerPoint, Access

Contextual mail add-inAdd-in launched contextually from a mail message or appointmentOutlook and Outlook Web Access (OWA)

Add-in commandCommand in the Office UI to launch add-in or perform UI-less operationWord, Excel, PowerPoint,OneNote, Outlook and Outlook Web Access (OWA)

Task pane add-inAdd-in that runs beside a document/mail with read/write accessWord, Excel, PowerPoint, Project, Outlook

Page 10: Office Command Add-ins – New generation of Add-ins

2 Office add-in samples

Content add-inAdd-in that runs within a document content with read/write accessExcel, PowerPoint, Access

Contextual mail add-inAdd-in launched contextually from a mail message or appointmentOutlook and Outlook Web Access (OWA)

Add-in commandCommand in the Office UI to launch add-in or perform UI-less operationWord, Excel, PowerPoint,OneNote, Outlook and Outlook Web Access (OWA)

Task pane add-inAdd-in that runs beside a document/mail with read/write accessWord, Excel, PowerPoint, Project, Outlook

Page 11: Office Command Add-ins – New generation of Add-ins

2 Office add-in samples

Content add-inAdd-in that runs within a document content with read/write accessExcel, PowerPoint, Access

Contextual mail add-inAdd-in launched contextually from a mail message or appointmentOutlook and Outlook Web Access (OWA)

Add-in commandCommand in the Office UI to launch add-in or perform UI-less operationWord, Excel, PowerPoint,OneNote, Outlook and Outlook Web Access (OWA)

Task pane add-inAdd-in that runs beside a document/mail with read/write accessWord, Excel, PowerPoint, Project, Outlook

Page 12: Office Command Add-ins – New generation of Add-ins

2 Office add-in samples

Content add-inAdd-in that runs within a document content with read/write accessExcel, PowerPoint, Access

Contextual mail add-inAdd-in launched contextually from a mail message or appointmentOutlook and Outlook Web Access (OWA)

Add-in commandCommand in the Office UI to launch add-in or perform UI-less operationWord, Excel, PowerPoint,OneNote, Outlook and Outlook Web Access (OWA)

Task pane add-inAdd-in that runs beside a document/mail with read/write accessWord, Excel, PowerPoint, Project, Outlook

Page 13: Office Command Add-ins – New generation of Add-ins

Add-in command2 Office add-in samples

Page 14: Office Command Add-ins – New generation of Add-ins

What is an Command add-in?Markup segment in XML manifestAvailable in Outlook, Word, Excel, PowerPointCan perform one of operations:• executes a JavaScript function• shows a drop-down menu with one or more

buttons• launches a task pane

Page 15: Office Command Add-ins – New generation of Add-ins

Demo:Office add-in command samples

Page 16: Office Command Add-ins – New generation of Add-ins

Manifest

Page 17: Office Command Add-ins – New generation of Add-ins

VersionOverrides XML<OfficeApp>... <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0"> <Description resid="residDescription" /> <Requirements> <!-- add information on requirements --> </Requirements> <Hosts> <Host xsi:type="MailHost"> <!-- add information on form factors --> </Host> </Hosts> <Resources> <!-- add information on resources --> </Resources></VersionOverrides>...</OfficeApp>

Page 18: Office Command Add-ins – New generation of Add-ins

HostDetermines the Office application host for addin• Document (Word)• MailHost (Outlook)• Notebook (OneNote)• Presentation (PowerPoint)• Workbook (Excel)

Page 19: Office Command Add-ins – New generation of Add-ins

Host XML...<Hosts> <Host xsi:type="Presentation"> <DesktopFormFactor> <FunctionFile resid="residDesktopFuncUrl" /> <GetStarted> <!-- GetStarted callout --> </GetStarted> <ExtensionPoint xsi:type="PrimaryCommandSurface"> <!-- information on this extension point --> </ExtensionPoint> <!-- possibly more ExtensionPoint elements --> </DesktopFormFactor> </Host></Hosts>...

Page 20: Office Command Add-ins – New generation of Add-ins

ExtensionPoint elementDefines where the command will appear• PrimaryCommandSurface – ribbon • ContextMenu – right-clickContains tab/menu definitions, groups, controls, icons• CustomTab• OfficeTab• OfficeMenu

Page 21: Office Command Add-ins – New generation of Add-ins

Development options NapaIn-browser web editor for building client-side Office add-insUses Office Online and OneDrive for file storageIntellisense for JavaScript and HTML5Allows for sharing and exportingDoesn’t expose full add-in manifest

3 Getting started

Page 22: Office Command Add-ins – New generation of Add-ins

Development optionsVisual StudioFirst-class development experience with templates and debuggingExposes the full add-in manifest and automated deployment commandsAllows for web projects containing both client-side and server-side assets

3 Getting started

Page 23: Office Command Add-ins – New generation of Add-ins

Development optionsyo office-Yeoman based generator-Node-Gulp-Visual Studio Code-Office UI Fabric

3 Getting started

Page 24: Office Command Add-ins – New generation of Add-ins

Office UI FabricResponsive, mobile-first, front-end framework for developers that delivers instant look and feel of OfficeHandles typography, color, icons, animations, responsive grid layouts, and localization

3 Getting started

Page 25: Office Command Add-ins – New generation of Add-ins

Demo: Building your first Office Command add-in

Page 26: Office Command Add-ins – New generation of Add-ins

RECAPSurface your business solutions in Office user interfaceLeverage the building blocks of the platformUse the development platform of your choice


Recommended