Last active
September 4, 2018 16:59
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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