Skip to content

Instantly share code, notes, and snippets.

@jameshoward
Created November 17, 2020 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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(["test@example.com"],
(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
office-ui-fabric-js@1.4.0/dist/css/fabric.min.css
office-ui-fabric-js@1.4.0/dist/css/fabric.components.min.css
core-js@2.4.1/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