What’s new in Office 2016 for developers
As you’ve read, and for developers, this is an exciting time! The ability to insert add-ins into your documents, call new Office.js APIS, launch task panes inside your Office clients and run commands directly from the ribbon increases the productivity of your entire team! Add-ins now work across Office 2016 running on Windows, Office Online in your browser, Office 2016 on the Mac (Outlook currently) and Office on the iPad.
Office 2016 on Windows introduces some new extensibility features that will roll out over the other Office clients over time.
Add-in commands provide ways to initiate specific add-in actions from the ribbon. This lets users access add-ins in a simple, intuitive and unobtrusive way. Because they offer increased functionality in a seamless manner, add-in commands allow developers to create more engaging scenarios and add-ins.
Add-in commands are declared in the add-in manifest in a new node called VersionOverrides. This node ensures backward compatibility because, in an environment that doesn’t support VersionOverrides, existing add-ins will continue to function as they did without add-in commands.
The screenshot below shows add-in commands on the ribbon at the right.
There is support for ribbon groups too as shown in this screenshot:
Launch task pane commands
You can use an add-in command button to launch a task pane to get more information from users. For example, the add-in may require changes to settings, or the completion of certain fields.
Theming capabilities for add-ins
You can use the new Theming APIs in your mail and task pane Office Add-ins to integrate your add-in with the Office theme. This widely requested feature allows your add-in to look and feel like the rest of the Office experience—regardless of the user’s preferences. To learn more, see . The takes advantage of this new API.
Excel and Word Office.js functionality
The new Excel and Word Office.js APIs provide a variety of Excel and Word specific functionality related to the documents being collaborated on. Examples include populating content controls in Word or inserting formatted charts in Excel and are a result of feedback from Partners and developers worldwide submitted. We’ve been working on a Snippet Explorer for both and to let you browse through code snippets for common scenarios and learn how the new Excel and Word APIs work.
The example below highlights the Diet Tracker code sample that inserts rich charts using the Office.js APIs in Excel:
This screenshot highlights a Statement of Work Builder code sample that inserts rich formatted content into a document using Office.js in Word:
My apps now are My add-ins
Office 2016 has been updated to reflect the platform name change from “apps for Office” to “Office Add-ins.” For details about the name change, see “”
We continue to acquire more incredible partners in our Store. As mentioned in a previous : Uber, , and all have released add-ins that take advantage of these new development features.