Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hook up Outlook 2003 "Shared Calendar..." link to MAPI store imple

48 views
Skip to first unread message

Xingren Ying

unread,
Aug 18, 2005, 8:22:01 PM8/18/05
to
We implement our MAPI message store for Outlook to connect our mail and
calendar server. In Outlook 2003, these is a "Shared Calendar..." link on
the left pane of Calendar's Explorer. After clicking on this link, there is
dialog box popup to input user id for calendar subscription.

Question:
1. Which MAPI object and the function in message store is called when user
submit the subscription in the dialog box?
2. How could I intercept the event when user clicking on the link or
subscription dialog box?

This question is relative the one
http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?dg=microsoft.public.outlook.program_addins&mid=d990b11c-5893-41e2-a158-cd3506768b1f But I cannot find a solution in COM Addin way.

Thanks!
--
Xingren

Henry Gusakovsky

unread,
Aug 19, 2005, 9:05:02 AM8/19/05
to
Search for "MAPI provider support for Delegation" in the group
You will find a thread than may help you a bit where to dig.

--
WBR
Henry

Xingren Ying

unread,
Aug 19, 2005, 6:54:04 PM8/19/05
to
Thanks Henry! Where could I find the "sample from MS Outlook Connector for
Lotus server"?

If I registers a service in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Outlook\SchedulingInformation\SharedCalendarSupport]
(for OL2003), will an event handler function (what is it) be called when I
click on "OK" button of "Open a Shared Calendar" dialog box of OL2003?

We actually have implemented our message store to handle Outlook default
(Calendar, Mail, Contact, Address book and etc) folder messaging, and provide
shared calendar function by our own UI (by COM Addin). We only need to hook
up our subscription function with Outlook 2003 "Open a Shared Calendar..."
link. Could you give me more hint here?

Thanks!
--
Xingren

Henry Gusakovsky

unread,
Aug 29, 2005, 4:56:23 AM8/29/05
to

"Xingren Ying" <Xingr...@discussions.microsoft.com> wrote in message
news:AF5A9BCF-5B57-4CF5...@microsoft.com...

> Thanks Henry! Where could I find the "sample from MS Outlook Connector
> for
> Lotus server"?
There is no sample for that.

>
> If I registers a service in
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Outlook\SchedulingInformation\SharedCalendarSupport]
> (for OL2003), will an event handler function (what is it) be called when I
> click on "OK" button of "Open a Shared Calendar" dialog box of OL2003?

No,

>
> We actually have implemented our message store to handle Outlook default
> (Calendar, Mail, Contact, Address book and etc) folder messaging, and
> provide
> shared calendar function by our own UI (by COM Addin). We only need to
> hook
> up our subscription function with Outlook 2003 "Open a Shared Calendar..."
> link. Could you give me more hint here?


I used my utility MAPISpy http://mapispy.blogspot.com/2005/07/mapi-spy.html
To investigate how Outlook implements 'Open a Shared Calendar'
It requests IMailUser for recipient.
After that Requests some properties (PR_EMS_AB_HOME_MDB as far as i remember
and some others)
After successful retrieving of propeties if uses IExchangeManageStore
interface to create
store EntryID,
Opens store via obtained EntryID and finds default calendar for that store.

So after you register your service in

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Outlook\SchedulingInformation\SharedCalendarSupport]

Outlook tries to work with it as it is Exchange provider (i mean shared
calendar support)

Xingren Ying

unread,
Aug 30, 2005, 8:31:26 PM8/30/05
to
Thanks Henry! Seem your investigation suggests to register a service with
IExchangeManageStore at SharedCalendarSupport to hook up this user action. I
still hesitate to jump in this long path unless no other solution.

Thank you very much for your investigation!

0 new messages