News

Add-In Commands Give Office 2016 Devs More Control

A number of new tools whose capabilities will be deployable in Office client apps in the coming months include add-in command extensibility, and theming and Office.js APIs.

Besides the bevy of tools already available for developers who are making the most of enterprise Microsoft Office app usage, the Office Dev teams blogged about a number of new tools whose capabilities will be deployable in Office client apps in the coming months, including add-in command extensibility, and theming and Office.js APIs.

Add-in commands can now be used to provide add-ins for users via the ribbon. To provide users with a Yelp or Evernote add-in from the ribbon, developers declare them in the add-in manifest in a new VersionOverrides node. (More info on working with the add-in manifest is here.)

Where users just need to respond with a button click to perform an action, such as a simple printing function, developers can use a JavaScript function to run an add-in. For actions that require user input, an add-in button can be added that launches a task pane asking for more information.

Add-ins can also be coded to have the Office 2016 look and feel, via the theming APIs. The Office theme is accessed via the Context.officeTheme property. For more granular developer control, Microsoft also recently announced the Office UI Fabric framework, which is available on Github.

The team has also been working on developing tools that provide for more creative ways to use Word and Excel functions in collaborative working environments, through Office.js APIs. As the APIs are in preview, there's a limited number of functions that can be embedded into other clients. For Word: documents, paragraphs, content controls, header/footer, search, range, sections, selection, pictures and formatting functions. For Excel: named items, worksheets, ranges, formatting, tables, and charts. Snippets for these functions can be accessed through the Office.js Snippets Explorer. You can read more about them here.

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus

Featured

  • Microsoft Revamps Fledgling AutoGen Framework for Agentic AI

    Only at v0.4, Microsoft's AutoGen framework for agentic AI -- the hottest new trend in AI development -- has already undergone a complete revamp, going to an asynchronous, event-driven architecture.

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

Subscribe on YouTube