【发布时间】:2019-01-23 10:51:57
【问题描述】:
我正在关注此链接 Book An Appointment In CRM Dynamics Using C# 并能够在 CRM Dynamics 日历中创建约会,这反过来会返回 GUID,并且它也在 Dynamics 日历中可见。
此外,我可以使用实体SetStateRequest 将约会状态从“打开”更改为“已安排”,如下所示,但我仍然无法将此约会同步/可见到我的 Outlook 日历中。
任何建议将不胜感激。谢谢
Guid _appointmentId = organizationService.Create(appointment);
var state = new SetStateRequest
{State = new OptionSetValue(3),
Status = new OptionSetValue(5),
EntityMoniker = new EntityReference("appointment", _appointmentId)};
var stateSet = (SetStateResponse)organizationService.Execute(state);
【问题讨论】:
标签: outlook dynamics-crm office365 dynamics-365 appointment