none
saveAsync in office API does not save the item with correct recurrence pattern RRS feed

  • Question

  • Hi,

    We have developed office 365 addin. we are trying to get the recurrence pattern of recurring appointments.

    here is how we are doing, this is applicable to 365 web

    1) call saveASync to save the item and get the id, here id is being returned successfully

    2) use this id and call makeewsRequestAsync to get the detail of item

    Bug: correct recurrence pattern is not being returned, it only returns data for very first occurrence.

    it used to work correctly few months back, but now its behaving differently.

    Has anybody come across this issue or its a known issue

    we are using following soap

    '<?xml version="1.0" encoding="utf-8"?>' +
                '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' +
                '               xmlns:xsd="http://www.w3.org/2001/XMLSchema"' +
                '               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"' +
                '               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">' +
                '  <soap:Header>' +
                '    <RequestServerVersion Version="Exchange2016" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" soap:mustUnderstand="0" />' +
                '  </soap:Header>' +
                '  <soap:Body>' +
                '    <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">' +
                '      <ItemShape>' +
                '        <t:BaseShape>AllProperties</t:BaseShape>' +
                '        <t:AdditionalProperties>' +
                '            <t:FieldURI FieldURI="item:Subject"/>' +
                '            <t:FieldURI FieldURI="calendar:IsRecurring"/>' +
                '            <t:FieldURI FieldURI="calendar:Recurrence"/>' +
                '            <t:FieldURI FieldURI="calendar:FirstOccurrence"/>' +
                '            <t:FieldURI FieldURI="calendar:LastOccurrence"/>' +
                ' <t:FieldURI FieldURI="calendar:ModifiedOccurrences"/>' +
                '            <t:FieldURI FieldURI="calendar:RequiredAttendees"/>' +
                '        </t:AdditionalProperties>' +
                '      </ItemShape>' +
                '      <ItemIds><t:ItemId Id="' + id + '"/></ItemIds>' +
                '    </GetItem>' +
                '  </soap:Body>' +
                '</soap:Envelope>';

    We tested same scenario with exchange 2016, it works correctly. i mean we get correct recurrence patterns.

    Thanks


    Monday, October 30, 2017 11:15 AM