Download presentation
Presentation is loading. Please wait.
Published bySteven Richards Modified over 8 years ago
1
Redmond Protocols Plugfest 2016 Sky Liu Build Powerful Add-ins with Excel APIs Program Manager
2
Agenda Introduction to Office Add-ins Introduction to Excel APIs Demo Resource and Support
3
"The most strategic developer surface area for us is Office 365.“ —Satya Nadella
4
Office add-ins momentum
5
Extend Office clients across platforms using web technologies. Office Add-ins
6
Extensibility of client apps via HTML+JavaScript Growing set of client APIs (office.js) Multiple forms: Within a spreadsheet As a task pane next to a document As code running behind a button on the Ribbon / context menu Office Add-ins
7
Build once, run everywhere Benefits of Office Add-ins Streamlined Lifecycle Web Standards, Open Platform O365 Integration Developers Consumers & Corporate Users
9
Task pane add-in
10
Content add-in
11
Add-in command
12
New API Pipeline Capabilities Batching Multiple API execution requests can be queued (batched) and executed at once Promises Syntax Helps manage complex and nested callback flows in a simple manner Object Oriented Design Enables a friendlier syntax for interacting with complex object hierarchies/graphs Selective Loading Allows for efficient execution (only necessary properties/objects are marshalled) Service-compatible Allows for REST API equivalents with shared interface contracts
13
Excel APIs Object Model Workbook WorksheetRangeTableFormatChartNamedItem SortFunctionsFilterProtection CustomXML Parts Pivot Table (Refresh) 1.1 1.2 1.3
14
API Syntax Excel.run(function (ctx) { var range = ctx.workbook.worksheets.getActiveWorksheet().getUsedRange(); range.format.fill.color = "red"; return ctx.sync().then(function () { 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)); } });
16
@OfficeDev StartStart Engage
17
Resource and Support Docs, Code Samples and Open Spec http://dev.office.com/ https://github.com/OfficeDev/office-js-docs/ https://github.com/OfficeDev/?utf8=%E2%9C%93&query=exc elhttps://github.com/OfficeDev/?utf8=%E2%9C%93&query=exc el Questions ->Stack overflow: [office-js] Feature Requests -> UserVoice [Add-ins: Excel]
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.