Presentation is loading. Please wait.

Presentation is loading. Please wait.

Excel JavaScript API Update

Similar presentations


Presentation on theme: "Excel JavaScript API Update"— Presentation transcript:

1 Excel JavaScript API Update
Juan Balmori Program Manager Excel.js

2 Microsoft Build 2017 11/20/2018 4:43 AM Office Add-ins Extend Office applications across platforms using web technologies. Distribute via store or your company catalog via centralized deployment. (with Office.js) HTML manifest.xml Your own web app Office Add-in © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Excel API Releases 1.7 GA!! NEW Excel APIs in Preview! 2015 2016 2017
11/20/2018 4:43 AM Excel API Releases 2015 2016 2017 2018 Application/ Calculate Worksheet Workbook Range Table Chart #1.1 Named item (read) Filter Sort Worksheet Functions Protection #1.2 Range view (filtered) Pivot Table (refresh) #1.3 Named Item (write) Settings Events #1.4 Custom XML Parts #1.5 New Range functions Conditional Formatting Calculate (range, worksheet) #1.6 #1.7 Events Styles Chart enhancements Password Protection Copy Worksheet Gridlines, tabs, etc. Same evolution is taking place across all of the Office client APIs. Have many people working on Excel APIs. On verge of Excel 1.7 GA (in preview now). We did an analysis of all the COM add-ins to determine what APIs are needed to support the top 2/3 by usage; these are being addressed in quarterly updates. NEW Excel APIs in Preview! More events! Data validation Create Workbook Shapes W1 Pivot W1 Areas Charts W2 Range Worksheet Application © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 11/20/2018 4:43 AM ExcelApi 1.7 Customize appearance, copy and protect, gain deeper understanding of data. Chart trendline Add/set chart series Axis unit/title Title and data label set Access built-in properties Set custom properties Apply built-in style Create/apply custom styles Copy worksheet within same workbook Password protection Workbook protection Set tab color Turn gridlines on/off Freeze rows, columns Read frozen pane Available on Win32, Excel online, Mac and iPad. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 ExcelApi 1.7 More features Make your solutions more interactive.
Get range as image Get active cell Refresh data connections Get workbook name New range methods Get/Set hyperlink Named item formula and array- values, type Range format additions New event APIs Object level onActivated onDeactivated Worksheet WorksheetCollection onAdded onChanged Table TableCollection onSelectionChanged

6 Demo Excel JS API 1.7 & New Preview samples in Script Lab

7 Identifying Challenges: Two Approaches
Data-Driven Based on telemetry data (API usage, latency), engineering team analyzes and optimizes Excel back end – no changes required to your code. Customer-Driven Based on developer feedback (Stack Overflow, GitHub), our team publishes best-practices guidance.

8 Data-Driven Improvements
Data import is a common fundamental scenario, so this has been a major area of focus. Range-write API performance for data import has been significantly improved (and has started rolling out to builds across all platforms): ~1K cells – 88% improvement ~10K cells – 90% improvement ~100K cells – 57% improvement Worksheet-add performance has been improved by 92% Next focus area: adding table rows

9 Performance Feedback: example
This issue led to both internal performance optimizations in Excel, and publication of best-practices guidance.

10 Customer-Driven Improvements
We have started publishing best-practices guidance and code samples for specific scenarios. Scenarios covered to date: Minimize the number of sync() calls Minimize the number of proxy objects created Load necessary properties only Suspend calculation temporarily Update all cells in a range Importing data into tables

11 Summary Excel 1.7 APIs GA! Excel New Beta APIs Perf Improvements!
Help us get better and more APIs: Uservoice Stack overflow #office-js

12 Thanks!


Download ppt "Excel JavaScript API Update"

Similar presentations


Ads by Google