1 / 12

Excel JavaScript API Update

Excel JavaScript API Update. Juan Balmori Program Manager Excel.js. Office Add-ins. Extend Office applications across platforms using web technologies. Distribute via store or your company catalog via centralized deployment. HTML. Your own web app. Office Add-in. manifest.xml.

woods
Télécharger la présentation

Excel JavaScript API Update

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Office Add-ins • Extend Office applications across platforms using web technologies. Distribute via store or your company catalog via centralized deployment. HTML Your own web app Office Add-in manifest.xml (with Office.js)

  3. 1.7 GA!! Excel API Releases 2018 2015 2016 2017 #1.1 #1.2 #1.3 #1.4 #1.5 #1.6 #1.7 Application/ Calculate Filter Pivot Table (refresh) Named Item (write) Custom XML Parts Conditional Formatting Events Worksheet Sort Range view (filtered) Settings New Range functions Calculate (range, worksheet) Styles Workbook Worksheet Functions Events Chart enhancements Range Protection Password Protection NEW Excel APIs in Preview! Copy Worksheet Table More events! Data validation Create Workbook Chart Gridlines, tabs, etc. Pivot W1 Areas Shapes W1 Named item (read) Charts W2 Range Worksheet Application

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

  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

  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 https://github.com/OfficeDev/office-js/issues/12 This issue led to both internal performance optimizationsin 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 • https://docs.microsoft.com/en-us/office/dev/add-ins/excel/performance

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

  12. Thanks!

More Related