0

ここに画像の説明を入力C# コードを使用して新しい予定を正常に開くことができましたが、何らかの理由で [Who] フィールドを編集できません。指定された日付で C# プログラムを使用して新しいカレンダー エントリを開き、ユーザーに件名、出席者、場所などを入力させたいと思います。

 LNDocument.ReplaceItemValue("Form", "Appointment");
 //Type of the appointment, means:
 LNDocument.ReplaceItemValue("AppointmentType", "Meeting");

 LNDocument.ReplaceItemValue("Subject", "");

 // Set Confidential Level (Public=1 or Private=0) 
 LNDocument.ReplaceItemValue("$PublicAccess", "1");
 LNDocument.ReplaceItemValue("$ExpandGroups", "3");
 //Add Start&End Time of your event
 LNDocument.ReplaceItemValue("CALENDARDATETIME", StartDate);
 LNDocument.ReplaceItemValue("StartDateTime", StartDate);
 LNDocument.ReplaceItemValue("EndDateTime", EndDate);
 LNDocument.ReplaceItemValue("StartDate", StartDate);
 //Infos in The Body
 LNDocument.ReplaceItemValue("Body", "");
 LNDocument.ComputeWithForm(true, false);
 LNDocument.Save(false, false, false);


 System.Diagnostics.Process.Start(LNDocument.NotesURL);

どんな助けでも大歓迎です。

4

2 に答える 2