Outlook Addin displayNewAppointmentForm 函数在 AppointmentOrgan



我正在使用ExecuteFunction创建一个带有参数的新约会表单。它正在努力

AppointmentAttendeeCommandSurface

扩展点,但不适用于

AppointmentOrganizerCommandSurface

扩展点。

我在这个网站上找不到它。有可能displayNewAppointmentForm吗 在两个扩展点上?

function openAppFrm(event) 
{
var start = new Date();
var end = new Date();
end.setHours(start.getHours() + 1);
Office.context.mailbox.displayNewAppointmentForm(
{
requiredAttendees: ['kamal@abc.com', 'nimal@abc.com'],
optionalAttendees: ['kasun@abc.com'],
start: start,
end: end,
location: 'Colombo Office',
subject: 'Test Meeting',
body: 'Hello World!'
});
event.completed();
}

Office.context.mailbox.displayNewAppointmentForm仅在AppointmentAttendeeCommandSurface中受支持。它在 AppointmentOrganizerCommandSurface 中不受支持。

相关内容

  • 没有找到相关文章

最新更新