none
Tracking Outlook Meeting Updates to the Date and/or Time. RRS feed

  • Question

  • I want to track, via VB, date and/or time changes when receiving an updated to a meeting request in Outlook 2010. When a meeting time change is received the calendar item is immediately updated even before the request in the inbox is accepted or rejected. For the user, the inbox item displays both the new time and the prior time. I am unable to determine where to obtain that prior time stamp from the Outlook model. I have searched this forum and others without seeing anything related. Any assistance would be appreciated.
    Tuesday, January 29, 2013 5:37 PM

Answers

  • Excellent!
    Obscure, but easily obtained when you know where to look.

    Function getPriorDate(oMtg As MeetingItem, sWhich As String)
    ' Get prior date for Meeting Item. Return started or ended based on request.
        Dim oProp As PropertyAccessor
        Dim sDate, sPriorStart, sPriorEnd As String
        Set oProp = oMtg.PropertyAccessor
        sPriorStart = "http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/00290040"
        sPriorEnd = "http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/002A0040"
        Select Case LCase(sWhich)
            Case "start"
                sDate = oProp.GetProperty(sPriorStart)
            Case "end"
                sDate = oProp.GetProperty(sPriorEnd)
        End Select
        getPriorDate = sDate
    End Function
    • Marked as answer by MarkN-AZ Wednesday, January 30, 2013 5:58 PM
    Wednesday, January 30, 2013 5:58 PM

All replies

  • I do not remember the DASL property names off the top of my head, but the meeting update object (MeetingItem) should include both the old and the new values of start - take a look at a meeting update with OutlookSpy (click IMessage button).

    You should be able to access these properties using MeetingItem.PropertyAccessor.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.4 is now available!

    Tuesday, January 29, 2013 7:23 PM
  • Excellent!
    Obscure, but easily obtained when you know where to look.

    Function getPriorDate(oMtg As MeetingItem, sWhich As String)
    ' Get prior date for Meeting Item. Return started or ended based on request.
        Dim oProp As PropertyAccessor
        Dim sDate, sPriorStart, sPriorEnd As String
        Set oProp = oMtg.PropertyAccessor
        sPriorStart = "http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/00290040"
        sPriorEnd = "http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/002A0040"
        Select Case LCase(sWhich)
            Case "start"
                sDate = oProp.GetProperty(sPriorStart)
            Case "end"
                sDate = oProp.GetProperty(sPriorEnd)
        End Select
        getPriorDate = sDate
    End Function
    • Marked as answer by MarkN-AZ Wednesday, January 30, 2013 5:58 PM
    Wednesday, January 30, 2013 5:58 PM