Tasks to Appointment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I've noticed that in Outlook 2007 it is possible to "Copy a task as
appointment" from the daily task list. One task can be copied as several
appointments. Now the task is somehow aware of all the appointments it has
been copied to. Is there a way to find this out programatically. Outlook does
it, so it should be possible, right?

Thanks for any help I can get.
 
Where are you seeing that command in Outlook 2007?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Hi,

In the Calendar folder, select the "Day" or "Week" view. Under the view you
should be able to see the "Daily Task List", if not you can activate it from
View>Daily Task List>Normal. From here you can drag any task to the calendar.
If you "right" -drag the task to the calendar you should get a menu with
different options. After dragging the task to the calendar, open the task and
you should see an info above the task subject. The info looks like:
(Appointment(s) on: mon dd.mm.yyy hh:mm; tue dd.mm.yyyy hh:mm; wed
dd.mm.yyyy hh:mm, and so on)

I need to know how the task knows about the appointments. I'm creating an
add-in that will track appointments copied from a selected task...
 
Very cool! I'd never noticed that feature! It turns out to be quite interesting indeed (thanks to Outlook Spy). Apparently the task knows about the appointment dates, but nothing more than that. But the appointment definitely knows about the task, even though it doesn't show such a link in the UI (at least not that I could find).

These two properties in the task contain information about the related appointments:

http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/85B21102 (PT_MV_BINARY)

I'm not sure what it does.

http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/85B31003 (PT_MV_LONG)

This holds the minutes since 1/1/1601, which Outlook apparently uses to show the appointment dates in the task's infobar.

In the appointment, this property contains the EntryID of the related task or possibly tasks, since it's multivalued:

http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/820C1102 (PT_MV_BINARY)

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Seppo Kabongo said:
Hi,

In the Calendar folder, select the "Day" or "Week" view. Under the view you
should be able to see the "Daily Task List", if not you can activate it from
View>Daily Task List>Normal. From here you can drag any task to the calendar.
If you "right" -drag the task to the calendar you should get a menu with
different options. After dragging the task to the calendar, open the task and
you should see an info above the task subject. The info looks like:
(Appointment(s) on: mon dd.mm.yyy hh:mm; tue dd.mm.yyyy hh:mm; wed
dd.mm.yyyy hh:mm, and so on)

I need to know how the task knows about the appointments. I'm creating an
add-in that will track appointments copied from a selected task...
 
Hi Sue,

Thanks a lot fot your answers. I haven't been able to really test it yet.
However, I found myself in the situation where I need to get this info also
straight from Exchange Server. Can I simply use the same property schema as
for Outlook?

br,
 
If you're programming directly against the server, you'd be using WebDAV. The schema should be similar, but I don't know if there are exceptions. It's a question better posed to the microsoft.public.exchange.development newsgroup.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Seppo Kabongo said:
Hi Sue,

Thanks a lot fot your answers. I haven't been able to really test it yet.
However, I found myself in the situation where I need to get this info also
straight from Exchange Server. Can I simply use the same property schema as
for Outlook?

br,
 
Sorry for the delayed response. I don't do Exchange programming. While I think the syntax should be similar, it won't be exactly the same. Consult the docs at http://msdn.microsoft.com/exchange/ or the microsoft.public.exchange.development newsgroup.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Seppo Kabongo said:
Hi Sue,

Thanks a lot fot your answers. I haven't been able to really test it yet.
However, I found myself in the situation where I need to get this info also
straight from Exchange Server. Can I simply use the same property schema as
for Outlook?

br,
 
Back
Top