Power Your Applications with Excel

Slides:



Advertisements
Similar presentations
Redmond Protocols Plugfest 2016 Sky Liu Build Powerful Add-ins with Excel APIs Program Manager.
Advertisements

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.
2010 Microsoft BI Conference
Get an Introduction to the SharePoint Framework
5/9/2018 9:30 AM BRK2215 Deliver better experiences with SharePoint Patterns and Practices Community Solutions Mike Ammerlaan Product Marketing Manager,
Make your app a native part of Office with Add-ins
Microsoft Ignite /10/2018 3:38 AM
Office Add-ins: Make your solution a native part of Office
5/13/2018 8:08 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Manage Office 365 more effectively: what’s new in Office 365 admin?
Microsoft Ignite /16/2018 3:12 PM BRK2119
Create beautiful, fast, interactive pages in SharePoint
Office 365 Developer Overview
Office 365 development CloudRoadShow 5/20/ :25 AM
5/21/2018 9:40 PM BRK3021 Learn about modern infrastructure roles in RDS: Next generation Windows desktop & app virtualization Clark Nicholson - Principal.
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
5/22/2018 3:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Building Custom Application With Office Add-Ins for OneNote
Microsoft /4/2018 8:21 AM BRK3082 Build solutions and apps with Microsoft OneDrive API and Microsoft Graph API Ryan Gregg Principal Program Manger,
Microsoft Build /9/2018 8:04 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft /17/2018 4:24 AM BRK4012 Dive deep on Skype Web SDK & Skype for Business App SDK - Build apps across Web, IOS & Android Srividhya Chandrasekaran Amit.
Microsoft Ignite /17/2018 4:41 AM BRK4016
Build Connected Productivity Apps for SharePoint and Office
6/17/ :27 AM BRK3341 Unlock extensibility by connecting your service to PowerApps and Microsoft Flow Theresa (Tessa) Palmer–Sr. Program Manager Sunay.
Azure SDKs and Tools for You
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Discover the New SharePoint Content Publishing Experiences
Microsoft /26/2018 6:05 PM BRK3044 Integrate line of business services with Outlook on Windows, Mac and web Andrew Salamatov Bharathan Venkateswaran.
Experience the Power of Excel Anywhere with Excel Online
The power of common identity across any cloud
Microsoft Ignite /31/ :08 AM
Build smarter bots and devices by connecting to the Microsoft Graph
Excel and Power BI Better Together Democratization of data
Integrate Power BI with Microsoft Dynamics
Microsoft Ignite /13/2018 7:38 PM BRK2247
Office Power Hour New developer APIs and features for Apps for Office
Microsoft Virtual Academy
Microsoft Build /22/2018 4:06 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Controlling and leveraging the power of the Microsoft Graph
Power Apps & Flow for Microsoft Dynamics SL
Microsoft Ignite /9/2018 5:03 AM BRK1010
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
The Future of SharePoint Development - Vision, Strategy, and Roadmap
Excel REST API updates Sudhi Ramamurthy Sr. Program Manager.
Protect your OneDrive and SharePoint files on mobile devices
11/15/ :59 AM THR2294 Building great looking experiences with Microsoft Graph and Office UI Fabric Ben Summers Office Marketing David Lavenda Harmon.ie.
Learn about PnP initiative and the new SharePoint Framework
Get the roadmap for the future of Office development
11/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Microsoft Build /18/ :56 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Office 365 Development July 2014.
11/22/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
Effective report authoring using Power BI Desktop
Microsoft Ignite /24/2018 1:12 PM THR2008
Migrate your apps from legacy APIs to Microsoft Graph
Office 365 Development July 2014.
Learn how to use and customize the Dynamics AX interactive help system
Excel Rest API Sudhi Ramamurthy Program Manager, Office Extensibility
Agenda OAuth Concepts Programming OAuth.
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Build /22/2019 5:32 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Office 365 Development.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Build /24/ What's new for Azure developers in Visual Studio 2013 update 2 and Azure SDK 2.3 Dan Fernandez Principal PM
Presentation transcript:

Power Your Applications with Excel Microsoft Ignite 2016 5/20/2018 12:27 AM BRK3306 Power Your Applications with Excel Yina Arenas Principal Program Manager Microsoft Graph and Office Extensibility @yina_arenas © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda 1. Excel Extensibility Overview 5/20/2018 12:27 AM Agenda 1. Excel Extensibility Overview Build solution to help 1+ billion Office users to do more. 2. Excel Workbook as a Service (*new*) Power your solution with Excel in the Microsoft Graph 3. Excel Add-ins Integrate your solution deeply with Excel Go. Resources and support We are here to help you succeed © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Office Platform WHAT CAN I BUILD? ADD-INS AND WEB PARTS: Microsoft Ignite 2016 5/20/2018 12:27 AM Office Platform WHAT CAN I BUILD? ADD-INS AND WEB PARTS: Make your solution a native part of the modern Office WEB AND DEVICE APPS: Build smarter apps by connecting to Office services VOICE, VIDEO, CONNECTORS, AND BOTS: Create the next generation of productivity solutions © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel Extensibility Overview Microsoft Ignite 2016 5/20/2018 12:27 AM 1 Excel Extensibility Overview © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel technology journey PC 1990s PC + Servers 2000s Devices + Cloud 2010s Excel 3 (1990) XLM/C API/XLL Excel 5-9 (1993+) VBA COM Add-ins Excel 2003 COM interop VBA VSTO Add-ins Excel service 2007+ SOAP API Legacy REST API Excel 2013 JSOM Excel 2016 Rich JSOM APIs REST APIs

Type of business applications built using Excel TechReady 23 5/20/2018 12:27 AM Type of business applications built using Excel Reporting Sales Expense Accounting Management BI reporting Batch reporting Analytics and Modeling Budgeting and planning Forecasting Data analysis Information worker productivity © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel Modern Extensibility 5/20/2018 12:27 AM Excel Modern Extensibility Cloud ready, modern and powerful Excel Powered Apps Excel Web Add-ins Common underlying code for both JavaScript and REST APIs © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel Modern Extensibility 5/20/2018 12:27 AM Excel Modern Extensibility Cloud ready, modern and powerful new approaches to extend Excel. Multi platform. Write once and have Excel Add-ins run wherever Office runs. Easy Distribution. corporate deployment and Store. Community support. Growing active community around REST and JavaScript. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel JS and REST APIs Object Model 1.1 Filter Workbook Worksheet Range Table Format Chart Named Item 1.2 Protection 1.3 Sort Pivot Table (Refresh) Range view Functions More soon…

Future of VBA VBA is not going away New features have OM, this is how we engineer Office We are not actively making other investments in VBA VBA will not ported to other platforms – iOS, Android, etc. There are no plans to integrate VBA in Visual Studio Instead, we are focusing on JavaScript and REST-based, cross-platform programmability

Demo: Azure ML add-in Excel Bot Office 365 CloudRoadShow 5/20/2018 12:27 AM Demo: Azure ML add-in Excel Bot © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Azure ML and Excel bot demo Microsoft Ignite 2016 5/20/2018 12:27 AM Azure ML and Excel bot demo Excel file in OneDrive with product review data 3 Access and update forecast on the go using the Excel bot 2 Forecast sales with Excel calc engine 1 Sentiment Analysis using Azure Machine Learning and Cognitive services Office Add-in for Excel © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Excel powered apps

Excel Powered Apps Excel Web Add-ins 5/20/2018 12:27 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel Powered Apps: Workbook as a service TechReady 23 5/20/2018 12:27 AM Excel Powered Apps: Workbook as a service Power your app with 700+ Excel APIs Available over drives API in Microsoft Graph Supports OneDrive Business, Office 365 Groups & SharePoint online files Access secured by OAuth2.0 Uses JSON format for both input and output © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel REST API in Microsoft Graph 5/20/2018 12:27 AM Excel REST API in Microsoft Graph Your App Microsoft Graph API (graph.microsoft.com) USERS GROUPS FILES MAIL CALENDAR EXCEL Microsoft Graph rich relationships and insights © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Excel REST API in Microsoft Graph TechReady 23 5/20/2018 12:27 AM Excel REST API in Microsoft Graph Get workbook GET https://graph.microsoft.com/v1.0/me/drive/items/<id>/workbook Microsoft Graph Path to file in OneDrive, SharePoint or Office 365 groups Excel REST API © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sample queries - reporting Change the background fill color of range A1:A6 PATCH .../workbook/worksheets('Sheet1')/range(address='A1:A6')/format/fill { color: "#FF0000" } Create a column clustered chart with data from A1:C6 POST .../workbook/worksheets('Sheet1')/charts/add { "type": "ColumnClustered", "sourcedata": "A1:C6", "seriesby": "Auto" } Get the chart created as an image GET .../workbook/worksheets('Sheet1')/charts('Chart1') /image(width=0,height=0,fittingMode='fit')

Sample queries – calc and data manipulation Use functions POST .../workbook/functions/pmt { "rate": 0.035, "nper": 20, "pv": -2000 }   Sort data in range A1:A6 POST .../workbook/worksheets('Sheet1')/range(address='A1:A6')/sort/apply { fields: [{ key: 0, ascending: true }] } Filter the Table1 to get the top 3 items based on the 1st column POST .../workbook/worksheets('Sheet1')/tables('Table1')/columns/itemAt(index=0)/filter/apply { criteria: { filterOn: "topPercent", criterion1: "3" } }

Demo: Excel REST queries Excel Bot Code Office 365 CloudRoadShow 5/20/2018 12:27 AM Demo: Excel REST queries Excel Bot Code © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Language Understanding Microsoft Ignite 2016 5/20/2018 12:27 AM https://aka.ms/excelbot https://aka.ms/excelbotcode Excel Bot Language Understanding (LUIS.ai) Bot Framework Excel Bot Microsoft Graph © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sessions: Choose whether to save changes Create a persisted session: POST .../workbook/CreateSession content-type: Application/Json authorization: Bearer {access-token}  Body: { "persistChanges": true } Response 201 {"@odata.context": "https://graph...sessionInfo",  "id": "{session-id}",  "persistChanges": true} Usage GET .../workbook/Worksheets authorization: Bearer {access-token} workbook-session-id: {session-id}

Microsoft Graph SDKs support Excel REST API GA: .Net/Xamarin and Android Preview: Node.js, JavaScript Coming: iOS, Ruby, PHP // Create a chart based on the table range. var workbookChart = await graphClient.Me.Drive.Items[excelFileId] .Workbook .Worksheets[“Sheet1"] .Charts .Add("ColumnStacked", "Auto", tableRange.Address) .Request() .PostAsync();

Excel REST API Scenarios TechReady 23 5/20/2018 12:27 AM Excel REST API Scenarios Data Management Automate data collection through API and integration with other services. Consuming existing data in Excel. Worksheet Automation Manage worksheet remotely from your app without UI. Automate workflows around worksheets. Calculation Service Leverage the most powerful calculation engine. Reporting Service Get professional charts, powerful data analysis, even PivotTable all with a simple API call. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Partner showcase

Sage 50 and Microsoft Office 365 Together, Sage and Microsoft are revolutionizing cloud accounting by creating seamless integration between two of the most popular and trusted business applications for the business builders of the world - Sage 50 and Microsoft Office 365 Satya Nadella, Sage Summit, July 2016

Sage 50 and Microsoft Office 365 Leveraging the Microsoft Graph API and Office 365 to unleash Sage 50 data to the Cloud… Sage Contact – surfacing Sage 50 data in Outlook Sage Intelligence – powerful financial reporting in Excel Sage Cloud Backup – schedule and store Sage 50 backups in One Drive Sage Capture – record transactions and send them to Sage 50c Sage KPI Dashboards – access important business KPIs from Office 365 with any device

Sage Intelligence Reporting – with Excel Access financial reports in the cloud on Tablet and Desktop. Available in HTML through the Browser and Excel

3 Excel Web Add-ins

Excel Powered Apps Excel Web Add-ins 5/20/2018 12:27 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Office Web Add-ins Extend Office clients across platforms using web technologies. HTML manifest.xml Your own web app Office Add-in

Benefits of Office Add-ins Build once, run everywhere Streamlined Lifecycle Developers Consumers & Corporate Users Web Standards, Open Platform O365 Integration

Excel Web Add-ins A new way to build extensions for Excel Microsoft Office 5/20/2018 Excel Web Add-ins A new way to build extensions for Excel Task pane add-in Add-in that runs beside a document/mail with read/write access. Content add-in Add-in that runs within a document content with read/write access Excel. Add-in command Command in the Excel UI to launch add-in or perform UI-less operation Dialog A modal window that allows focused interaction with the user © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Task pane add-in

Content add-in

Add-in commands RIBBON BUTTONS CONTEXT MENUS

Office Javascript APIs Office.js is a simple JS library Single HTML <script> include Smart dependency loading depending on host Office application Simple backwards compatible versioning Two types of APIs Common: Generic functionality that works across office applications (e.g. Word, Excel, PowerPoint) App-specific: Deep and specialized access to the different application object models Support Intellisense TypeScript

Excel APIs 5/20/2018 12:27 AM VERSION 1.1 VERSION 1.2 Basic worksheet management CRUD and advanced operations on Range and Table. Chart creation and customization Retrieve Named Items Basic formatting including font, borders and solid fill. WORKBOOK WORKSHEETS TABLES NAMES ROWS VERSION 1.2 Data analytics with sort/filter Worksheet protection Worksheet functions Get a chart as an image R1C1 range addressing support RANGE CHARTS COLUMNS LEGEND FORMAT AXES VERSION 1.3 (Preview) PivotTable Refresh RangeView for visible cells Add multiple rows Range addressing enhancements TITLE FONT SERIES FILL BORDERS © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Coding pattern Excel.run(function (ctx) { //Batch of instructions }).then(function() { //Handle Success //Can chain promises }).catch(function(error) { //Handle Error });

Code sample Excel.run(function (ctx) { //Batch of instructions var range = ctx.workbook.worksheets.getActiveWorksheet().getUsedRange(); range.format.fill.color = "red"; return ctx.sync() .then(function () { //Handle Success console.log("Used Range is highlighted in Red!"); }); // Error handling }).catch(function(error){ console.log("Error: " + error); if (error instanceof OfficeExtension.Error) { console.log("Debug info: " + JSON.stringify(error.debugInfo)); }

Demos: Office.js Playground WoodGrove Bank Insurance Office 365 CloudRoadShow 5/20/2018 12:27 AM Demos: Office.js Playground WoodGrove Bank Insurance © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Recap: Excel Modern Extensibility 5/20/2018 12:27 AM Recap: Excel Modern Extensibility Cloud ready, modern and powerful Excel Powered Apps Excel Web Add-ins Common underlying code for both JavaScript and REST APIs © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

API Roadmap Upcoming features in open spec: https://github.com/officeDev/office-js-docs/tree/ExcelJs_1.3_OpenSpec Custom XML parts Document properties Conditional Formatting Eventing REST support for OneDrive consumer

Demo: Mail Merge with Excel and Microsoft Graph Office 365 CloudRoadShow 5/20/2018 12:27 AM Demo: Mail Merge with Excel and Microsoft Graph © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

GO! Resources and Support

https://dev.office.com/excel

Deploy, ramp-up on new services and onboard new users with Microsoft FastTrack: http://fasttrack.microsoft.com/

Join the Microsoft Tech Community to collaborate, share, and learn from the experts: http://techcommunity.microsoft.com

Please evaluate this session 5/20/2018 12:27 AM Please evaluate this session Your feedback is important to us! From your PC or Tablet visit MyIgnite at http://myignite.microsoft.com From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting https://aka.ms/ignite.mobileapp © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5/20/2018 12:27 AM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.