`if (!string.IsNullOrEmpty(phonecall.From))
phonecallEntity.Attributes.Add("from", new EntityReference("systemuser", new
Guid(phonecall.From)));
if (!string.IsNullOrEmpty(phonecall.To))
phonecallEntity.Attributes.Add("to", new EntityReference("contact", new
Guid(phonecall.To)));
我正在尝试在Dynamics 365中的电话呼叫活动中设置“从”和“到”字段。我正在使用以下代码,但在创建电话呼叫时,收件人和收件人字段为空。我需要改变什么?