Scott Melendez said:
What are the consequences of rebuilding the database? I seem to remember
something about losing categories and things like that.
WHen you rebuild the database, the database utility trashes the cache
for IMAP and Exchange accounts (to be able to re-download if fresh from
the server).
Since categories are not synched to the Exchange servers, when you
rebuild, the cache is trashed and the contacts and calendar entries are
re-downloaded from the server - without the category assignments.
There are a couple of workarounds:
- move the contacts and calendar entries to the local address book and
calendar. Then you can rebuild, and move them back on Exchange with the
proper categories.
- use a script to copy the categories on a custom field. Let them all
properly sync to Exchange, rebuild, then use another script to restore
the categories from the same Custom field.
I started playing with the second option a while ago and got stuck
rwiting the AppleScript to do that. I posted about it in one of the
threads here and Paul Berkowitz gave me the perfect solution(s). The
scripts I played with appear to be functional (at least on my Mac) but
they haven't had extensive testing (at all!!!). You are welcome to test
them and see how they work for you. For simplicity, I posted them here:
http://www.cortig.net/wordpress/?p=73
Corentin