我正在遵循这个链接Book An Appointment In CRM Dynamics Using C#,并能够在客户关系管理动态日历中创建约会,这反过来返回GUID,它也在动态日历中可见。此外,我可以通过使用entity SetStateRequest将约会状态从“打开”更改为“已安排”,如下所示,但我仍然无法将此约会同步/显示到我的Outlook Calendar中。
任何建议都将不胜感激。谢谢
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);https://stackoverflow.com/questions/54325550
复制相似问题