Question

We are building an integration we Exchange 2010.

When we look at a contact through Outlook, there is a "Notes" field below the picture of the person, this contains update information.

We are able to find the data in the other fields but not this one. Anyone know what the field is called or where the data is stored.

Was it helpful?

Solution

It is stored in a field called ContactSchema.Body which is not recognized as one of Contacts FirstClassProperties.

To include the Body property when loading a contact, you need to specify it.

Contact c = Contact.Bind(service, 
                         new ItemId(id), 
                         new PropertySet(BasePropertySet.FirstClassProperties,
                                         ContactSchema.Body ));

And you can now access c.Body without throwing an exception.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top