我正在使用ExecuteFunction创建一个带参数的新约会表单。它正在努力
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: ['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();
}
答案 0 :(得分:0)
Office.context.mailbox.displayNewAppointmentForm仅在AppointmentAttendeeCommandSurface中受支持。 AppointmentOrganizerCommandSurface不支持它。