/PnP-OfficeAddins

Office 365 solution guidance with practices and patterns for Office Add-in development.

Primary LanguageJavaScriptMIT LicenseMIT

Office Add-ins Patterns and Practices (PnP)

Office Add-ins PnP is a community driven effort that helps developers extend, build, and provision customizations for the Office platform. The source is maintained on this GitHub repo where anyone can participate. You can provide contributions to the samples, reusable components, and documentation. Office Add-ins PnP is owned and coordinated by Office engineering teams, but the work is done by the community for the community.

List of samples

Date Name Description
January 29, 2020 Use a shared library to migrate your Visual Studio Tools for Office add-in to an Office web add-in Provides a strategy for code reuse when migrating from VSTO Add-ins to Office Add-ins.
November 12, 2019 Get OneDrive data using Microsoft Graph and msal.js in an Office Add-in Learn how to build a Microsoft Office Add-in, as a single-page application (SPA) with no backend, that connects to Microsoft Graph, and access workbooks stored in OneDrive for Business to update a spreadsheet.
October 2, 2019 Integrate an Azure function with your Excel custom function Learn how to integrate Azure functions with custom functions to move to the cloud or integrate additional services.
September 30, 2019 Dynamic DPI code samples A collection of samples for handling DPI changes in COM, VSTO, and Office Add-ins.
July 19, 2019 Use storage techniques to access data from an Office Add-in when offline Demonstrates how you can implement localStorage to enable limited functionality for your Office Add-in when a user experiences lost connection.
May 1, 2019 Office Add-in auth to Microsoft Graph Learn how to build a Microsoft Office Add-in that connects to Microsoft Graph, and access workbooks stored in OneDrive for Business to update a spreadsheet.
May 1, 2019 Outlook Add-in auth to Microsoft Graph. Learn how to build a Microsoft Outlook Add-in that connects to Microsoft Graph, and access workbooks stored in OneDrive for Business to compose a new email message.
May 1, 2019 Custom function batching pattern Batch multiple calls into a single call to reduce the number of network calls to a remote service.

Learn more

To learn more about Office Add-ins, see the Office Add-ins documentation.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.