0
votes

We are using Redemption for the Outlook integration with our application. We mainly use redemption to be notified for meetings/appointment from the Outlook calendar. If Outlook client has "Use Cached Exchange Mode" flag checked for the user account. The calendar changes are notified in real time by Redemption to the application. However calendar meeting/appointment goes out of sync if "Use Cached Exchange Mode" flag is unchecked. The redemption is not able to notify the new/modified calendar event for the user. However if we see the "Calendar" in Outlook it shows the correct calendar events.

Do we need to provide special handling for the case in Outlook Redemption when "Use Cached Exchange Mode" flag is unchecked.

Here is the code to subscribe for calendar events

private void CreateCalendarFolder()
      {
         RDOSession session = this.CreateSession();
         if (session != null)
         {
            this.calendarFolder = session.GetDefaultFolder(rdoDefaultFolders.olFolderCalendar) as     RDOFolder2;
             if (this.calendarFolder != null)
            {
               this.calendarItems = this.calendarFolder.Items;
               this.calendarItems.ItemAdd += this.OnCalendarChanged;
               this.calendarItems.ItemChange += this.OnCalendarChanged;
               this.calendarItems.ItemRemove += this.OnCalendarItemRemoved;
            }
         }
     else
     {
        this.logger.Error("Could not create calendar folder because couldn't create session.");
     }
  }
1

1 Answers

1
votes

Exchange 2010 in the online mode does not send UDP notifications (used by the MAPI contents table events).

Do you see the notifications on the MAPI level in your environment in OutlookSpy if you click IMAPIFolder, go to the GetContentsTable tab and look at the log at the bottom of the window?