Importing Holidays to the SLOX Calendar

Support knowledgebase (gerz_slox_feiertagslisten)
Applies to

Openexchange Server

Situation

You want to create holiday lists that can be imported by the users to their calendars.

Procedure

Create a text file with the holidays to import. The suitable format for this file can be seen in the following sample extracts from "Deutschland.txt":

DE,Deutschland,2003-04-20,NULL,Ostersonntag,1,general
DE,Deutschland,2004-04-11,NULL,Ostersonntag,1,general
DE,Deutschland,2005-03-27,NULL,Ostersonntag,1,general
DE,Deutschland,2006-04-16,NULL,Ostersonntag,1,general
or "USA.txt":
DE,USA,2003-04-20,NULL,Easter,1,general
DE,USA,2004-04-11,NULL,Easter,1,general
DE,USA,2005-03-27,NULL,Easter,1,general
DE,USA,2006-04-16,NULL,Easter,1,general

As in the example, the columns 1("DE"), 4("NULL"), 6("1"), and 7("general") must exist for all entries in your file.


Meaning of the columns from left to right
-----------------------------------------

1) language    = import language type (internal use), for private user entries =NULL

2) country     = country where the holidays apply or CUSTOM for private entries

3) hdate       = date with "YYYY-MM-DD" format

4) userid      = NULL for administrator imports (standard), 
                 "user identification (UID)" for a user's private entries

5) description = name of the holiday

6) duration    = (always "1", currently not in use)

7) htype       = general or private

Make sure your file contains a separate line for each holiday PER year. Separate columns with commas (without blanks). Leave no blank lines. Adhering to the given date format is also very important.

Importing Holidays to the Server:

Verify that a current backup of the mail server is available. Import the holiday lists as user "cyrus" (see "Help", "Groupware settings"). After doing this, all users will be able to import holidays via "Setup", "Groupware settings". In case of a wrong date, correct it in the file and import the file again. Alternatively, dates can also be individually selected and deselected.


Keywords: SLOX, MAIL, HOLIDAY, CALENDAR

Categories: SuSE Linux IMAP Server

SDB-gerz_slox_feiertagslisten, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 15. May 2003
SuSE Linux AG - Last generated: 26. Jun 2003 by ip (sdb_gen 1.40.0)