none
saveAsync is not saving recurring appointment correctly 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.

    Tuesday, November 7, 2017 10:27 PM

All replies

  • Hello,

    I follow your steps and test using Version 1710.

    I open recurring item and select "Open the entire series", save the item using saveAsync and then call makeewsRequestAsync with your SOAP. Here is the result

    I am not familiar with EWS, what correct recurrence pattern should be returned and what is your current result?

    To check if the issue is related to Office update, I suggest you share your build number here and follow https://support.microsoft.com/en-sg/help/2770432/how-to-revert-to-an-earlier-version-of-office-2013-or-office-2016-clic to revert your Office to an earlier version.

    Regards,

    Celeste


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, November 8, 2017 6:35 AM
    Moderator
  • Hi,

    Thanks for looking into it

    Did you try on web as i mention this problem comes up when we are using outlook web not on fat client.

    Also, this happens whilst you are creating new appointment, not for pre existing recurring appointments

    Thanks



    • Edited by Nitrup Saturday, November 11, 2017 8:28 PM more information
    Friday, November 10, 2017 2:22 PM
  • Hello,

    I could reproduce the issue using OWA. I suggest you submit a feedback on https://officespdev.uservoice.com/

    If the issue is urgent, I suggest you contact the Microsoft professional support from https://support.microsoft.com/en-us/gp/contactus81?Audience=Commercial&SegNo=4 You won't be charged if the support engineer determines the issue is the result of a bug.

    Regards,

    Celeste

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 13, 2017 6:23 AM
    Moderator