A
AlanGlover
I'm writing an Outlook Add-in to link calendar appointments with room
bookings in our room and resources booking application. I need to store a
room booking reference with the calendar appointment so that if they move or
delete the appointment I can move or delete the room booking.
I don't want to use the outlook item user properties as this makes the
appointment a "one-off" non-standard item.
I tried using the globalObjId MAPI property (because I noticed this is where
Outlook stores the UID when an iCal or vCal is received). But Outlook (or
something) changes this property from time to time and I lose my reference.
I tried creating a named property and this is OK unless the user deletes an
appointment using the right mouse button menu. In this case I catch the
Item_Add event in the Deleted Items folder but when I look in the MAPIObject
my named property has dissappeared.
Do named properties get lost when items are moved from folder to folder? Is
there any safe place I can store my booking reference?
bookings in our room and resources booking application. I need to store a
room booking reference with the calendar appointment so that if they move or
delete the appointment I can move or delete the room booking.
I don't want to use the outlook item user properties as this makes the
appointment a "one-off" non-standard item.
I tried using the globalObjId MAPI property (because I noticed this is where
Outlook stores the UID when an iCal or vCal is received). But Outlook (or
something) changes this property from time to time and I lose my reference.
I tried creating a named property and this is OK unless the user deletes an
appointment using the right mouse button menu. In this case I catch the
Item_Add event in the Deleted Items folder but when I look in the MAPIObject
my named property has dissappeared.
Do named properties get lost when items are moved from folder to folder? Is
there any safe place I can store my booking reference?