我正在创建一个使用ExecuteFunction的参数的新约会窗体。它的工作对Outlook Addin displayNewAppointmentForm函数不适用于AppointmentOrganizerCommandSurface扩展点
AppointmentAttendeeCommandSurface
扩展点,但不是
AppointmentOrganizerCommandSurface
扩展点的作品。我在this site找不到它。两个扩展点上是否可能有displayNewAppointmentForm
?
function openAppFrm(event)
{
var start = new Date();
var end = new Date();
end.setHours(start.getHours() + 1);
Office.context.mailbox.displayNewAppointmentForm(
{
requiredAttendees: ['[email protected]', '[email protected]'],
optionalAttendees: ['[email protected]'],
start: start,
end: end,
location: 'Colombo Office',
subject: 'Test Meeting',
body: 'Hello World!'
});
event.completed();
}
嗨!感谢您让我们知道这一点。发现这个问题的平台是什么?你的加载项有什么权限? –
@OutlookWebAddinsTeam我在OWA和outlook for windows平台上遇到这个问题。我在Addin中给出了“ReadWriteItem”权限。 –