about snoozing appointmnet item

Y

Yeghia Dolbakyan

Hi All

When outlook's appointment item being snoozed what happens to it? Is it
possible to retrieve the appointment item later and find out this state

Regards
Yeghia
 
K

Ken Slovak - [MVP - Outlook]

There's no property that is related to snoozing an item. What happens when
you snooze an item is the FlagDueBy property is changed to the new reminder
time. Originally FlagDueBy = ReminderTIme for appointment items. That can be
used to tell if an item was snoozed if they aren't equal.
 
Y

Yeghia Dolbakyan

Hi Ken

I've found FlagDueBy only for MeetingItem and MailItem. What about
AppointmentItem?

Thanks in advance

Regards
Yeghia
 
K

Ken Slovak - [MVP - Outlook]

It's there, but only if a reminder is set on the appointment item.

I was inaccurate previously, ReminderTime=FlagDueBy is not true generally
for appointments (but it is for tasks, contacts and emails). When you start
out FlagDueBy = ReminderTime - ReminderMinutesBeforeStart. When snoozed
FlagDueBy will change but the other properties won't. So doing that
calculation and then comparing it to the value actually in FlagDueBy would
tell you if it was snoozed.
 
Y

Yeghia Dolbakyan

Sorry Ken

I still do not understand how to gety this state. Neither FlagDueBy nor
ReminderTime exists in Appointmet object. ReminderMinutesBeforeStart is
always 0.

So can you explain me what to do?

Regards
Yeghia
 
K

Ken Slovak - [MVP - Outlook]

Many of the needed properties for reminders don't show up at all in the
Outlook object model. For appointments you only get
ReminderMinutesBeforeStart and for other items types the reminder properties
might not be exposed at all, like with contact items.

For anything more you need to go to using CDO 1.21 or Extended MAPI or
Redemption or something else that lets you get at the undocumented
properties. If you aren't already using OutlookSpy (www.dimastr.com) do so
and look at some appointments using the IMessage button and you'll see all
the reminder related properties (assuming a reminder has been added). The
properties won't exist on the item until a reminder has been added.

If an appointment has been set up and the reminder is set for 15 minutes
before the appointment time the
ReminderMinutesBeforeStart property will equal 15.
 
Y

Yeghia Dolbakyan

Wowwww. What a great tool.
Thanks very much Ken

I'll check it.

Regards
Yeghia
 
K

Ken Slovak - [MVP - Outlook]

I use OutlookSpy every day and have it installed on all my development
machines. I couldn't live without it. A truly indispensable tool for any
serious Outlook developer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top