Update Appointment - Check if the appointment still exist in outlook RRS feed

  • Question

  • Hi,

    I am using java EWS api. I need to update an appointment and save the updated data in the database.

    Is it possible to check whether the appointment still exist in the outlook by making use of the uniqueId?

    If the appointment exist then I can check databaseUniqueId = outlookUniqueId, if it is true then update and save it in the database.

    Please, help me.

    Wednesday, October 11, 2017 8:58 AM

All replies

  • Hi,

    When you create the appointment, you need to save the Appointment.ItemId.UniqueId in your database.

    Next time, you can just access the appointment using that ItemId.

    Please do check, once you update the appointment, ItemId may change. In that case, you would have to save 'CleanGlobalObjectId' of appointment object, which is mapi property and doesnt' change. You would have find the appointment object using FindItem+SearchFilter for that CleanGlobalObjectId.


    Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)

    Thursday, October 12, 2017 9:27 AM