Skip to content

Instantly share code, notes, and snippets.

@JamesIgoe
Last active September 4, 2018 16:59
Show Gist options
  • Save JamesIgoe/bef805636fe0bf1a88dae42e03b36efe to your computer and use it in GitHub Desktop.
Save JamesIgoe/bef805636fe0bf1a88dae42e03b36efe to your computer and use it in GitHub Desktop.
Outlook helper function to add a status message to the info bar via Office API, written in JavaScript
function statusUpdate (icon, text) {
Office.context.mailbox.item.notificationMessages.replaceAsync("status", {
type: "informationalMessage",
icon: icon,
message: text,
persistent: false
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment