A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Custom calendar: show data from other calendars?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 28th 06, 05:49 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

Hi everyone,

I'm interested in creating a calendar that you would click on in
Outlook (it would be in the Public Folders), and then you'd see a
calendar that shows the "Out of Office" status for everyone in the
office. Is there a way to do this? Ideally I'd use the built-in
calendar widget to do this, but I can't find a way to get a calendar to
include information from other calendars.

If there's another group that might know about this, please let me know
that as well.

:-)
- Sean

Ads
  #2  
Old April 29th 06, 08:57 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom calendar: show data from other calendars?

You could read the Free/Busy status of everyone and create appointments
based on their status, with the subjects the people's names.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
Hi everyone,

I'm interested in creating a calendar that you would click on in
Outlook (it would be in the Public Folders), and then you'd see a
calendar that shows the "Out of Office" status for everyone in the
office. Is there a way to do this? Ideally I'd use the built-in
calendar widget to do this, but I can't find a way to get a calendar to
include information from other calendars.

If there's another group that might know about this, please let me know
that as well.

:-)
- Sean


  #3  
Old May 1st 06, 04:05 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

Hmm.. maybe this would work. How would I do this? Dynamically on a
user's computer, as they open up the calendar? If so, how would I do
this? Is there an event fired when a calendar is open, that can run
local code? Is that a lot of information to grab (the free/busy
information for 110+ people for a given day)? I can say that most days
the number of Out-of-Office people per day will be at least 20-30
people.

  #4  
Old May 1st 06, 04:43 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

Is there an Exchange Server event for when people access a calendar?
I'm thinking that it would be good to return the data I want to return,
from here. Can I do that?

  #5  
Old May 1st 06, 07:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom calendar: show data from other calendars?

Please retain part of the preceding thread in your posts, it makes it very
hard to follow when you don't.

One machine running the code would poll for the free/busy status of each
person in the GAL. Once the data was retrieved and parsed and put into that
public calendar folder as appointments for that user (with their name as the
subject) the updated folder and its data would be available to every user
who looked at that folder. No need to get more complicated than that.

GetFreeBusy is a method of the AddressEntry object. Iterating each
AddressEntry in the AddressEntries collection of the "Global Address List"
AddressList object would return the AddressEntry and calling that method
would return the free/busy data.

See the Object Browser help for more information on that method and
http://support.microsoft.com/?kbid=294554 for a little sample code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
ups.com...
Hmm.. maybe this would work. How would I do this? Dynamically on a
user's computer, as they open up the calendar? If so, how would I do
this? Is there an event fired when a calendar is open, that can run
local code? Is that a lot of information to grab (the free/busy
information for 110+ people for a given day)? I can say that most days
the number of Out-of-Office people per day will be at least 20-30
people.


  #6  
Old May 2nd 06, 08:48 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

Ken,

It looks like by default, my replies should have the replied-to-post
quoted at the bottom of the message. It is now, anyway.

Anyway, back to business.

What you describe sounds pretty good. I have some follow-up questions:
- Would this run on the Exchange server? Would it be a scheduled task,
or something in the Exchange event sink, or something?
- I'm glad to hear that I can iterate over the Global Address List. I
didn't know how to do that and was despairing a little that I might not
be able to.
- Is there a way to do this via a request to the Exchange server for
XML? I have a book that has an example of how to get Free/Busy
information, but that is per user. I need calendar information, and
the ability to add calendar items.

If you could paste me a link to a tutorial on getting this type of code
up and running, please let me know.

- Sean

Ken Slovak - [MVP - Outlook] wrote:
Please retain part of the preceding thread in your posts, it makes it very
hard to follow when you don't.

One machine running the code would poll for the free/busy status of each
person in the GAL. Once the data was retrieved and parsed and put into that
public calendar folder as appointments for that user (with their name as the
subject) the updated folder and its data would be available to every user
who looked at that folder. No need to get more complicated than that.

GetFreeBusy is a method of the AddressEntry object. Iterating each
AddressEntry in the AddressEntries collection of the "Global Address List"
AddressList object would return the AddressEntry and calling that method
would return the free/busy data.

See the Object Browser help for more information on that method and
http://support.microsoft.com/?kbid=294554 for a little sample code.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
ups.com...
Hmm.. maybe this would work. How would I do this? Dynamically on a
user's computer, as they open up the calendar? If so, how would I do
this? Is there an event fired when a calendar is open, that can run
local code? Is that a lot of information to grab (the free/busy
information for 110+ people for a given day)? I can say that most days
the number of Out-of-Office people per day will be at least 20-30
people.


  #7  
Old May 2nd 06, 11:25 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom calendar: show data from other calendars?

1. Running on the client. Most Exchange admins don't like code running on
the server because any problem could hang or crash the Exchange server. One
Outlook client can run the code and once the public folder is updated with
the free/busy information all clients can see it, including OWA clients that
might look at that folder.

2.
Set oAL = oOL.AddressLists("Global Address List")
Set colAE = oAL.AddressEntries
For each oAE In colAE
'now you have a member of the GAL as an AddressEntry object
Next

3. No XML involved. Just get the information for each user (GAL member) and
create or update appointments for each user based on the free/busy
information. A calendar folder needs individual appointments to create it's
view, so why complicate things with XML?

The code sample link I posted should get you started.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
Ken,

It looks like by default, my replies should have the replied-to-post
quoted at the bottom of the message. It is now, anyway.

Anyway, back to business.

What you describe sounds pretty good. I have some follow-up questions:
- Would this run on the Exchange server? Would it be a scheduled task,
or something in the Exchange event sink, or something?
- I'm glad to hear that I can iterate over the Global Address List. I
didn't know how to do that and was despairing a little that I might not
be able to.
- Is there a way to do this via a request to the Exchange server for
XML? I have a book that has an example of how to get Free/Busy
information, but that is per user. I need calendar information, and
the ability to add calendar items.

If you could paste me a link to a tutorial on getting this type of code
up and running, please let me know.

- Sean


  #8  
Old May 3rd 06, 08:26 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

I need a program that will run server-side. Can I do this with CDO, or
is there another method? Please let me know the best way to do this
server-side.

The reason I ask about doing this through XML requests is that, if I
can, I can write the program in whatever I want, which is what I'd
prefer. I can also put the program anywhere, and communicate with the
server. If you know of a way to do what I'm asking for in an XML
conversation, please let me know.

- Sean

  #9  
Old May 3rd 06, 11:48 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 8
Default Custom calendar: show data from other calendars?

And it looks like Exchange doesn't return current Free/Busy
information. I scheduled some Out-of-Office time, and it took a while
for the Exchange server to realize it was there, and return correct
Free/Busy information. I have actually read that this is the case,
too.

What is the delay between refreshes of Free/Busy data? Can it be
adjusted?

Is there a way to look at calendar data on my own? How?

- Sean

  #10  
Old May 4th 06, 03:25 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom calendar: show data from other calendars?

You can use any server side language you want. CDO 1.21 would do it. Just
don't use the Outlook object model running server side.

You get the data from CDO server side just as you would for Outlook, you
just have to have a logon that has permissions to log into every mailbox and
then do so in turn, getting the information from each in turn.

If this is going to be a server side coding project you'd best post
questions about it in one of the Exchange programming groups, not here. Same
thing for your setups for free/busy refresh intervals, that's an Exchange
admin problem not Outlook.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
And it looks like Exchange doesn't return current Free/Busy
information. I scheduled some Out-of-Office time, and it took a while
for the Exchange server to realize it was there, and return correct
Free/Busy information. I have actually read that this is the case,
too.

What is the delay between refreshes of Free/Busy data? Can it be
adjusted?

Is there a way to look at calendar data on my own? How?

- Sean


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot enter data in custom fields in TaskPad Roshan Q Outlook - Calandaring 3 April 13th 06 09:26 PM
Backup contact data created using custom forms Mary Ann Outlook - Using Contacts 4 March 3rd 06 12:31 AM
Sub Calendars items show up in master calendar Bob Outlook - Calandaring 2 February 25th 06 03:07 PM
Merging data between tab pages on custom forms Sue Mosher [MVP-Outlook] Outlook and VBA 0 February 1st 06 05:41 PM
Can custom form data populate access database jbtempe Outlook - Using Forms 1 January 20th 06 04:02 PM


All times are GMT +1. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.