This example shows a sample OCPF file designed to create a calendar with the following details:
TYPE "IPM.Appointment"
FOLDER "olFolderCalendar"
OLEGUID PSETID_Appointment "00062002-0000-0000-c000-000000000046"
OLEGUID PSETID_Common "00062008-0000-0000-c000-000000000046"
OLEGUID PS_PUBLIC_STRINGS "00020329-0000-0000-c000-000000000046"
SET $subject = "[OCPF] Julien Kerihuel Birthday"
SET $start_date = T2008-03-06 22:00:00
SET $end_date = T2008-03-06 23:45:00
SET $reminder = 45
SET $keywords = { "candles", "friends", "family" }
SET $private = B"true"
SET $wrong = 0
PROPERTY {
PR_CONVERSATION_TOPIC = $subject
PR_NORMALIZED_SUBJECT = $subject
PR_BODY = "Another year, another pleasure"
PR_START_DATE = $start_date
PR_END_DATE = $end_date
PR_SENSITIVITY = 2
};
NPROPERTY {
OOM:BusyStatus:PSETID_Appointment = 9
OOM:ApptStartDate:PSETID_Appointment = $start_date
OOM:CommonStart:PSETID_Common = $start_date
OOM:ApptEndDate:PSETID_Appointment = $end_date
OOM:CommonEnd:PSETID_Common = $end_date
OOM:Location:PSETID_Appointment = W"Home Sweet Home"
MNID_ID:0x8217:PSETID_Appointment = $wrong
OOM:Private:PSETID_Common = $private
MNID_ID:0x8501:PT_LONG:PSETID_Common = $reminder
MNID_STRING:"Keywords":PS_PUBLIC_STRINGS = $keywords
};