Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Latest commit

 

History

History

04 Building Add-ins for Microsoft Outlook

Office Add-ins: Build Add-ins for Microsoft Outlook

Microsoft Office clients enable developers to create add-ins that extend Microsoft Outlook with custom functionality. Through a JavaScript API, developers can access and edit the contents in an email or calendar event in Outlook from an app running in the client.

In this module, you'll learn how to build an Outlook add-in that will render buttons in the compose message window, implement a button that invokes a function, and implement a task pane that inserts content into the body of a message.

This module is also published as a Microsoft Learn module: Build Office Add-ins for Outlook.

Lab

The lab for this module is available in multiple units within the associated Microsoft Learn module. Use the following links to jump to the specific unit. Each Microsoft Learn unit represents a different lab exercise & demo in the presentation.

  • Exercise - Mail add-in basics

    In this exercise, you'll learn how to create your first Outlook add-in project and load it in the Outlook client.

  • Exercise - Add buttons and commands

    In this exercise, you'll add additional functionality to the add-in you created in a previous exercise. You'll create two new buttons that insert a specific gist or a default gist into a message. You'll also implement a first-run experience, prompting the user for their credentials to authenticate with GitHub to retrieve your gists.

  • Exercise - Add task panes to Outlook add-ins

    Task panes are useful in Outlook add-ins when you want to present the user with multiple choices or implement a user interface. In this exercise, you'll add a task pane experience to your existing Outlook add-in.

Demos

Watch the Module

This module has been recorded and is available in the Office Development YouTube channel: Building Add-ins for Microsoft Outlook

Contributors

Roles Author(s)
Lab Manuals / Slides Andrew Connell (Microsoft MVP, Voitanos) @andrewconnell

Version history

Version Date Comments
1.19 May 5, 2023 2023Q4 content refresh
1.18 December 5, 2022 2023Q2 content refresh
1.17 September 5, 2022 2023Q1 content refresh
1.16 May 2, 2022 2022Q4 content refresh
1.15 February 22, 2022 2022Q3 content refresh
1.14 December 7, 2021 2022Q2 content refresh
1.13 September 6, 2021 2022Q1 content refresh
1.12 June 17, 2021 2021Q4 content refresh
1.11 February 26, 2021 2021Q3 content refresh
1.10 November 25, 2020 2021Q2 content refresh
1.9 September 1, 2020 2021Q1 content refresh
1.8 May 1, 2020 2020Q4 content refresh
1.7 April 7, 2020 FY2020Q3 content refresh & port module to MS Learn
1.6 March 5, 2020 2020Q3 content refresh
1.5 Dec 6, 2019 2020Q2 content refresh
1.4 Sept 7, 2019 2020Q1 content refresh
1.3 June 7, 2019 2019Q4 content refresh
1.2 Mar 1, 2019 2019Q3 content refresh
1.1 January 9, 2019 Added screencast
1.0 December 19, 2018 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.