Skip to content

Instantly share code, notes, and snippets.

@jameshoward
Created November 17, 2020 09:06
Show Gist options
  • Save jameshoward/2f89916389d89b833c3b7e3ee2fb470f to your computer and use it in GitHub Desktop.
Save jameshoward/2f89916389d89b833c3b7e3ee2fb470f to your computer and use it in GitHub Desktop.
Adds a required attendee as soon as the script is executed
name: Add required attendee
description: Adds a required attendee as soon as the script is executed
host: OUTLOOK
api_set: {}
script:
content: >
Office.context.mailbox.item.requiredAttendees.addAsync(["[email protected]"],
(addResult) => {
console.log(addResult);
});
language: typescript
template:
content: <p>Testing add attendee</p>
language: html
style:
content: ''
language: css
libraries: |
https://appsforoffice.microsoft.com/lib/1/hosted/office.js
@types/office-js
[email protected]/dist/css/fabric.min.css
[email protected]/dist/css/fabric.components.min.css
[email protected]/client/core.min.js
@types/core-js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment