Kasperian Moving Parts

kinda like Batman, but with a wife and 3 kids

KPilot Hackery of Sorts (or How To Sync Your Work’s Exchange Calendar To Your Palm, Part III)

| 3 Comments

It felt darned good to hack on KPilot just a wee bit today! Actually, it was less hacking on KPilot directly and more on some utility code that I’ve written that allows me to sync my work Exchange calendar into my personal calendar and subsequently to my Palm. I’ve blogged previously about this, but since my last post, I’ve switched employers (YAY!!!) and I now have to deal with Exchange 2007 OWA, with Forms-Based Authentication (FBA). FBA has managed to break the nifty little Ruby Exchange (RExchange) code that I’d been using, since RExchange doesn’t do FBA. So, I’ve gone back to Graham Cobb’s tremendously useful little OWASync package which has been updated to handle Exchange 2007’s schema and FBA, WOOT!

So, anyway, if you, like me, need to sync your Exchange calendar to your Palm, and you don’t want to have to keep your personal Calendar also in Exchange just for the privilege of being able to sync both work and personal calendars to your Palm, you might find some of this useful. The right answer for this, of course, is to get KDE PIM to be able to speak to Exchange, show it in kontact, allow 2-way manipulation of your Exchange calendar, and then get KPilot to know how to merge multiple calendars into 1 view and 2-way sync them. But that’s a whole lotta work. =:)

I’m actually thinking that it might be a long-term idea to have KPilot be able to sync to multiple calendars on its own. But, again, that’s a whole lotta work.

And what’s more… while it might not be the prettiest solution, what I have now works and does what I need it to:

  1. Retrieve my calendar out of Exchange
  2. Display my calendar in Kontact (or Sunbird–I just checked and it works fine too!) so I don’t have to deal with OWA for checking my calendar
  3. Have my work calendar remind me of appointments via my Linux desktop
  4. Sync my Exchange work calendar with my Treo

Author: Jason 'vanRijn' Kasper

My name is Jason 'vanRijn' Kasper. I am the ring leader of the amazing Kasper family. I am unashamedly a Christian Nerd. These are our stories....

3 Comments

  1. Hi, nice entry! I’ve the same problems with Exchange and my Palm, and haven’t found the solution yet.

    If you want to improve PIM funktionality, I think this should not be implemented into Kpilot – The right way to go should be OpenSync + Akonadi. OpenSync has still some issues, I’m just trying to compile it (and maybe fix some Palm bugs …)

  2. Pingback: Syncing Exchange Calendar 1-way Into Korganizer/Kontact

  3. Hi Jason,

    In looking around, I found another person working on just the calendar data. He has an IronPython script for getting an ics file out of Exchange 2007 using .NET. Work seems to be ongoing to get it working with Mono on Linux. Here’s his post:

    http://blog.jonudell.net/2008/06/11/exchange2ical-available-on-codeplex/

    and related to that is his series on syncing calendar data:

    http://delicious.com/judell/icalpub+howto

    If I have time in the next few weeks, I will try my own hand at getting it to work with Mono.

    Cheers,

    -Adam

Leave a Reply

Required fields are marked *.