Custom property added by Outlook AddIn not visible with EWS Managed API RRS feed

  • Question

  • Hi I have extended property definition like this:

    string guid = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
    Guid MY_PROPERTY_SET_GUID = new Guid(guid);
    ExtendedPropertyDefinition MyExPropDef = new ExtendedPropertyDefinition(
    			MY_PROPERTY_SET_GUID, "MyExPropName", MapiPropertyType.String);

    Then  I have object of Microsoft.Exchange.WebServices.Data.Appointment type and I can set it's extended property value with EWS Managed API:


    In Outlook AddIn I can set this property this way:

    string schema = "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}/MyExPropName";

    When I change the property set from MY_PROPERTY_SET_GUID to DefaultExtendedPropertySet.PublicStrings, then I am able to assign property value in Oulook AddIn and access it via EWS. With MY_PROPERTY_SET_GUID it is not working, why?

    Wednesday, August 17, 2011 11:08 AM