[EWS-XML] Set x-headers on CalendarItems RRS feed

  • Question

  • I would like to be able to set x-headers on CalendarItems, and the associated meeting requests & items in other peoples calendars that get generated by the same EWS call. The following will set the extended property on the original item (e.g. in the organizers calendar), but not the other items that get generated. I can set PublicStrings instead of InternetHeaders, but these don't seem to stick with the message after it leaves Exchange. Is there any way to do this within EWS or is it by design that these properties don't get copied over while others do?

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi=""
            <t:RequestServerVersion Version="Exchange2013" />
            <m:CreateItem SendMeetingInvitations="SendToAllAndSaveCopy">
                        <t:Subject>Test Calendar Item</t:Subject>
                        <t:Body BodyType="Text">Body Text</t:Body>
                            <t:ExtendedFieldURI DistinguishedPropertySetId="InternetHeaders"
                                    PropertyType="String" />
                            <t:Value>Value Text</t:Value>

    Thursday, October 30, 2014 1:02 AM


  • That won't work because a Meeting Invitation is generated from the Appointment information and the only information that is included is the Subject/Body/Location/Start/End/GlobalId etc. (You can't capture the Meeting request when it gets generated in EWS you could catch it with a Transport Agent on the Server).

    If you need to embed some type of information in the Meeting request you need to put it in those properties or potentially as a separate attachment so when the Meeting updates are generated that information should be included.


    • Marked as answer by l_gaud Thursday, December 3, 2015 8:56 PM
    Friday, October 31, 2014 6:54 AM