Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display Outlook Appointment Extended Properties in outlook

Is it possible to display outlook appointment extended properties in a custom outlook form or maybe an outlook addin? I have set the extended properties against the appointments using EWS. An example of how I have set them is below:

private static readonly ExtendedPropertyDefinition extendedPropertyEventID = new ExtendedPropertyDefinition(
                                                                                    new Guid("{00020329-0000-0000-C000-000000000046}"),
                                                                                    "EventID",
                                                                                    MapiPropertyType.String);


appointment.SetExtendedProperty(extendedPropertyEventID, "123456");
like image 685
LiveKarma Avatar asked Feb 03 '26 13:02

LiveKarma


1 Answers

The way to do it if you are writing an outlook addin and If you are using the Outlook Object Model, all custom properties are available in the item's UserProperties collection (e.g. AppointmentItem.UserProperties).

Best Practices for Getting and Setting Properties http://msdn.microsoft.com/en-us/library/ff869735(v=office.15).aspx

like image 123
Eric Legault Avatar answered Feb 05 '26 07:02

Eric Legault



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!