Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified snippet-extractor-metadata/outlook.xlsx
Binary file not shown.
32 changes: 32 additions & 0 deletions snippet-extractor-output/snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10113,6 +10113,38 @@ Office.AppointmentCompose#subject:member:
}
console.log(`Successfully set subject to ${subject}`);
});
Office.AppointmentForm:interface:
- >-
// Link to full sample:
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/55-display-items/display-new-appointment.yaml


const start = new Date();

const end = new Date();

end.setHours(start.getHours() + 1);


// The async version is only available starting with requirement set 1.9,

// and provides a callback when the new appointment form has been created.

Office.context.mailbox.displayNewAppointmentFormAsync(
{
requiredAttendees: ["bob@contoso.com"],
optionalAttendees: ["sam@contoso.com"],
start: start,
end: end,
location: "Home",
subject: "meeting",
resources: ["projector@contoso.com"],
body: "Hello World!"
},
function(asyncResult) {
console.log(JSON.stringify(asyncResult));
}
);
Office.AppointmentRead#attachments:member:
- >-
// Link to full sample:
Expand Down