Holiday
Posted: Sat Mar 10, 2007 12:17 pm
by chrschaffer
Hi forum,
I´m completely new to Scalix, but managed the installation and setup on Fedora just fine. Doing my first steps, I found almost everything I was looking for.
There´s just one question, I didn´t find any docu on: Is there a way to import public holidays into every Scalix user´s calendar?
Thanks for helping and best regards,
Chris
Posted: Mon Mar 12, 2007 5:51 am
by Richard Hall
Hi Chris,
There is no official way to do this. However I have achieved what you want to do by creating a dummy user and then using an Outlook profile for that user set up the public holidays (Tools/Options/Calendar Options/Add Holidays). Then archiving the Calendar of that user and importing those Calendar items into the Calendars of other users:
Code: Select all
omaddu -n "Holidays/<mailnode>"
<Create Outlook profile and set up holidays for Holidays user>
sxmboxlist -u Holidays # to get the Calendar reference
sxmboxexp -u Holidays -a Holidays.data -f <Calendar-ref> # Archive public holidays
omdelu -n Holidays
sxmboximp -a Holidays.data -u <User-1>
sxmboximp -a Holidays.data -u <User-2>
.
.
Make sure that the "Holidays" user is a newly created one - otherwise there may be other Calendar events present.
Hope that helps - Richard
Posted: Mon Mar 12, 2007 9:37 am
by chrschaffer
Hi Richard,
thanks for your reply. That´s brilliant - I´ll give it a go then!
Regards,
Chris
P.S.: Thanks especially for posting the code. That´s particularly helpful for a newbie like me.
