Office Add-in Samples - December 2021 update

Office Add-in Samples - December 2021 update

The Office Add-ins developer platform team has new updates to share this month on Office Add-in samples.

Encrypt attachments and more with Outlook event-based activation

outlook-event-based-activation.png

eric-legault-github-photo.png

Contributed by Eric Legault

This sample showcases how to use event-based activation in an Outlook add-in when the user composes an email or appointment/meeting request. It demonstrates how to run tasks based on events that fire when certain data changes when the user:

  • adds an attachment to an email or appointment/meeting request
  • adds recipients or distributions lists as required or optional attendees in a meeting request
  • changes the start or end date or time in an appointment/meeting request
  • adds a notification message to the item when a new email or appointment/meeting request is created, instructing the user to open the task pane for further information

Check out the code sample: Use Outlook event-based activation to encrypt attachments, process meeting request attendees and rea...

Get started with hello world samples

hello-world.png
Learn how to build the simplest Office Add-in with only a manifest, HTML web page, and a logo. These samples will help you understand the fundamental parts of an Office Add-in.

Get started with the following code samples:

Contributors

Thank you to our contributors who are actively helping each month with the Office Add-ins community effort.

maarten-van-stam-github-photo.png
Maarten van Stam

Helping review PRs and issues on Office-Add-ins-samples.

eric-legault-github-photo.png
Eric Legault

Creating the sample for encrypting attachments in Outlook using event-based activation.  

Office Add-ins are part of the Microsoft 365 PnP community. Please consider contributing by going to https://github.com/officedev/Office-Add-in-samples and helping with PRs, issues, or contributing new samples.

Additional resources