Presentation is loading. Please wait.

Presentation is loading. Please wait.

Power Your Applications with Excel

Similar presentations


Presentation on theme: "Power Your Applications with Excel"— Presentation transcript:

1 Power Your Applications with Excel
Microsoft Ignite 2016 5/20/ :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.

2 Agenda 1. Excel Extensibility Overview
5/20/ :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.

3 Office Platform WHAT CAN I BUILD? ADD-INS AND WEB PARTS:
Microsoft Ignite 2016 5/20/ :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.

4 Excel Extensibility Overview
Microsoft Ignite 2016 5/20/ :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.

5 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

6 Type of business applications built using Excel
TechReady 23 5/20/ :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.

7 Excel Modern Extensibility
5/20/ :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.

8 Excel Modern Extensibility
5/20/ :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.

9 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…

10 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

11 Demo: Azure ML add-in Excel Bot
Office 365 CloudRoadShow 5/20/ :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.

12 Azure ML and Excel bot demo
Microsoft Ignite 2016 5/20/ :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.

13 2 Excel powered apps

14 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.

15 Excel Powered Apps: Workbook as a service
TechReady 23 5/20/ :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.

16 Excel REST API in Microsoft Graph
5/20/ :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.

17 Excel REST API in Microsoft Graph
TechReady 23 5/20/ :27 AM Excel REST API in Microsoft Graph Get workbook GET 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.

18 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')

19 Sample queries – calc and data manipulation
Use functions POST .../workbook/functions/pmt { "rate": 0.035, "nper": 20, "pv": }   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" } }

20 Demo: Excel REST queries Excel Bot Code
Office 365 CloudRoadShow 5/20/ :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.

21 Language Understanding
Microsoft Ignite 2016 5/20/ :27 AM 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.

22 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 " "id": "{session-id}",  "persistChanges": true} Usage GET .../workbook/Worksheets authorization: Bearer {access-token} workbook-session-id: {session-id}

23 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();

24 Excel REST API Scenarios
TechReady 23 5/20/ :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.

25 Partner showcase

26 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

27 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

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

29 3 Excel Web Add-ins

30 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.

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

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

33 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.

34 Task pane add-in

35 Content add-in

36 Add-in commands RIBBON BUTTONS CONTEXT MENUS

37 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

38 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.

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

40 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)); }

41 Demos: Office.js Playground WoodGrove Bank Insurance
Office 365 CloudRoadShow 5/20/ :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.

42 Recap: Excel Modern Extensibility
5/20/ :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.

43 API Roadmap Upcoming features in open spec:
Custom XML parts Document properties Conditional Formatting Eventing REST support for OneDrive consumer

44 Demo: Mail Merge with Excel and Microsoft Graph
Office 365 CloudRoadShow 5/20/ :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.

45 GO! Resources and Support

46 https://dev.office.com/excel

47 Deploy, ramp-up on new services and onboard new users with Microsoft FastTrack:

48 Join the Microsoft Tech Community to collaborate, share, and learn from the experts:

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

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


Download ppt "Power Your Applications with Excel"

Similar presentations


Ads by Google